home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / plotting / gnuplot3.lzh / gnuplot / docs / gnuplot.doc < prev    next >
Text File  |  1991-09-17  |  91KB  |  2,527 lines

  1. 1 gnuplot
  2. ?
  3.  GNUPLOT is a command-driven interactive function plotting program. It
  4.  is case sensitive (commands and function names written in lowercase
  5.  are not the same as those written in CAPS). All command names may be
  6.  abbreviated, as long as the abbreviation is not ambiguous. Any number
  7.  of commands may appear on a line, separated by semicolons (;).
  8.  Strings are indicated with quotes.  They may be either single or double
  9.  quotation marks, e.g.,
  10.  
  11.           load "filename"
  12.           cd 'dir'
  13.  
  14.  Any command-line arguments are assumed to be names of files containing 
  15.  GNUPLOT commands, with the exception of standard X11 arguments, which
  16.  are processed first. Each file is loaded with the `load` command, in the
  17.  order specified. GNUPLOT exits after the last file is processed.  When
  18.  no load files are named, gnuplot enters into an interactive mode.
  19.  
  20.  Commands may extend over several input lines, by ending each 
  21.  line but the last with a backslash (\). The backslash must be the LAST
  22.  character on each line. The effect is as if the backslash and newline
  23.  were not there. That is, no white space is implied, nor is a comment
  24.  terminated. Therefore, commenting out a continued line comments out
  25.  the entire command (see `comment`).
  26.  
  27.  In this documentation, curly braces ({}) denote optional arguments to
  28.  many commands, and a vertical bar (|) separates mutually exclusive
  29.  choices.  GNUPLOT keywords or help topics are indicated by backquotes
  30.  or `boldface` (where available).  Angle brackets (<>) are used to mark
  31.  replaceable tokens.
  32.  
  33.  For help on any topic, type `help` followed by the name of the topic.
  34.  
  35.  The new GNUPLOT user should begin by reading about the `plot`
  36.  command (type `help plot`).
  37. 2 cd
  38. ?cd
  39.  The `cd` command changes the working directory.
  40.  
  41.  Syntax:
  42.          cd "<directory-name>"
  43.  
  44.  The directory name must be enclosed in quotes.
  45.  
  46.  Examples:
  47.          cd 'subdir'
  48.          cd ".."
  49. 2 clear
  50. ?clear
  51.  The `clear` command erases the current screen or output device as
  52.  specified by `set output`. This usually generates a formfeed on
  53.  hardcopy devices. Use `set terminal` to set the device type.
  54. 2 command-line editing
  55. ?line-editing
  56. ?editing
  57. ?history
  58.  The Unix and IBM PC versions of GNUPLOT support command-line editing.
  59.  Also, a history mechanism allows previous commands to be edited, and
  60.  re-executed. After the command line has been edited, a newline or
  61.  carriage return will enter the entire line regardless of where the
  62.  cursor is positioned.
  63.  
  64.  The editing commands are as follows:
  65.  
  66. @start table - first is interactive cleartext form
  67.  `Line editing`:
  68.  
  69.  ^B moves back a single character.
  70.  ^F moves forward a single character.
  71.  ^A moves to the beginning of the line.
  72.  ^E moves to the end of the line.
  73.  ^H and DEL delete the previous character.
  74.  ^D deletes the current character.
  75.  ^K deletes from current position to the end of line.
  76.  ^L,^R redraws line in case it gets trashed.
  77.  ^U deletes the entire line.
  78.  ^W deletes the last word.
  79.  
  80.  `History`:
  81.  
  82.  ^P moves back through history.
  83.  ^N moves forward through history.
  84. #Character && Function \\ \hline 
  85. #\multicolumn{3}{|c|}{Line Editing}\\
  86. #\verb~^B~ && move back a single character.\\
  87. #\verb~^F~ && move forward a single character.\\
  88. #\verb~^A~ && move to the beginning of the line.\\
  89. #\verb~^E~ && move to the end of the line.\\
  90. #\verb~^H, DEL~ && delete the previous character.\\
  91. #\verb~^D~ && delete the current character.\\
  92. #\verb~^K~ && delete from current position to the end of line.\\
  93. #\verb~^L, ^R~ && redraw line in case it gets trashed.\\
  94. #\verb~^U~ && delete the entire line. \\
  95. #\verb~^W~ && delete from the current word to the end of line. \\ \hline
  96. #\multicolumn{3}{|c|}{History} \\
  97. #\verb~^P~ && move back through history.\\
  98. #\verb~^N~ && move forward through history.\\
  99. %Character@@Function
  100. %_
  101. %@@Line Editing
  102. %^B@@move back a single character.
  103. %^F@@move forward a single character.
  104. %^A@@move to the beginning of the line.
  105. %^E@@move to the end of the line.
  106. %^H, DEL@@delete the previous character.
  107. %^D@@delete the current character.
  108. %^K@@delete from current position to the end of line.
  109. %^L, ^R@@redraw line in case it gets trashed.
  110. %^U@@delete the entire line.
  111. %^W@@delete from the current word to the end of line.
  112. %_
  113. %@@History
  114. %^P@@move back through history.
  115. %^N@@move forward through history.
  116. @end table 
  117.  
  118.  On the IBM PC the use of a TSR program such as DOSEDIT or CED may be
  119.  desired for line editing. For such a case GNUPLOT may be compiled with
  120.  no line editing capability (default makefile setup). Set READLINE in the
  121.  makefile and add readline.obj to the link file if GNUPLOT line editing
  122.  is to be used for the IBM PC. The following arrow keys may be used
  123.  on the IBM PC version if readline is used:
  124.  
  125. @start table - first is interactive cleartext form
  126.  Left  Arrow     - same as ^B.
  127.  Right Arrow     - same as ^F.
  128.  Ctl Left  Arrow - same as ^A.
  129.  Ctl Right Arrow - same as ^E.
  130.  Up    Arrow     - same as ^P.
  131.  Down  Arrow     - same as ^N.
  132. #Arrow key & Function & \\ \hline 
  133. #Left      & same as \verb~^B~. & \\
  134. #Right     & same as \verb~^F~. & \\
  135. #Ctl Left  & same as \verb~^A~. & \\
  136. #Ctl Right & same as \verb~^E~. & \\
  137. #Up        & same as \verb~^P~. & \\
  138. #Down      & same as \verb~^N~. & \\
  139. %Arrow key@@Function
  140. %_
  141. %Left Arrow@@same as ^B.
  142. %Right Arrow@@same as ^F.
  143. %Ctl Left Arrow@@same as ^A.
  144. %Ctl Right Arrow@@same as ^E.
  145. %Up Arrow@@same as ^P.
  146. %Down Arrow@@same as ^N.
  147. %_
  148. @end table 
  149. 2 comment
  150. ?comments
  151.  Comments are supported as follows: a # may appear in most places in a line
  152.  and GNUPLOT will ignore the rest of the line. It will not have this
  153.  effect inside quotes, inside numbers (including complex numbers), inside
  154.  command substitutions, etc. In short, it works anywhere it makes sense
  155.  to work.
  156. 2 environment
  157. ?environment
  158.  A number of shell environment variables are understood by GNUPLOT.
  159.  None of these are required, but may be useful.
  160.  
  161.  If GNUTERM is defined, it is used as the name of the terminal type to
  162.  be used. This overrides any terminal type sensed by GNUPLOT on start
  163.  up, but is itself overridden by the .gnuplot (or equivalent) start-up
  164.  file (see `start-up`), and of course by later explicit changes.
  165.  
  166.  On Unix, AmigaDOS, and MS-DOS, GNUHELP may be defined to be the pathname
  167.  of the HELP file (gnuplot.gih).
  168.  
  169.  On VMS, the symbol GNUPLOT$HELP should be defined as the name of 
  170.  the help library for GNUPLOT.
  171.  
  172.  On Unix, HOME is used as the name of a directory to search for 
  173.  a .gnuplot file if none is found in the current directory.
  174.  On AmigaDOS and MS-DOS, GNUPLOT is used. On VMS, SYS$LOGIN: is used.
  175.  See help start-up.
  176.  
  177.  On Unix, PAGER is used as an output filter for help messages.
  178.  
  179.  On Unix and AmigaDOS, SHELL is used for the `shell` command. On MS-DOS,
  180.  COMSPEC is used for the `shell` command.
  181.  
  182.  On AmigaDOS, GNUFONT is used for the screen font.  For example:
  183.  "setenv GNUFONT sapphire/14".
  184.  
  185.  On MS-DOS, if the BGI interface is used, the variable `BGI` is used to point 
  186.  to the full path to the BGI drivers directory. Furthermore SVGA is used to
  187.  name the Super VGA BGI driver in 800x600 res., and its mode of operation
  188.  as 'Name.Mode'.
  189.  For example, if the Super VGA driver is C:\TC\BGI\SVGADRV.BGI and mode 3 is
  190.  used for 800x600 res., then: 'set BGI=C:\TC\BGI' and 'set SVGA=SVGADRV.3'.
  191. 2 exit
  192. ?exit
  193. ?quit
  194.  The commands `exit` and `quit` and the END-OF-FILE character
  195.  will exit GNUPLOT. All these commands will clear the output device
  196.  (as the `clear` command does) before exiting.
  197. 2 expressions
  198. ?expressions
  199.  In general, any mathematical expression accepted by C, FORTRAN,
  200.  Pascal, or BASIC is valid. The precedence of these operators is
  201.  determined by the specifications of the C programming language.
  202.  White space (spaces and tabs) is ignored inside expressions.
  203.  
  204.  Complex constants may be expressed as the {<real>,<imag>}, where <real>
  205.  and <imag> must be numerical constants. For example, {3,2}
  206.  represents 3 + 2i; {0,1} represents `i` itself. The curly braces 
  207.  are explicitly required here.
  208. 3 functions
  209. ?expressions functions
  210. ?functions
  211.  The functions in GNUPLOT are the same as the corresponding functions
  212.  in the Unix math library, except that all functions accept integer,
  213.  real, and complex arguments, unless otherwise noted. The `sgn`
  214.  function is also supported, as in BASIC.
  215. @start table
  216. #Function & Arguments & Returns \\ \hline
  217. %Function@Arguments@Returns
  218. %_
  219. 4 abs
  220. ?expressions functions abs
  221. ?functions abs
  222. ?abs
  223. #abs(x) & any  &  absolute value of {\tt x}, $|x|$; same type \\
  224. #abs(x) & complex &  length of {\tt x}, $\sqrt{{\mbox{real}(x)^{2} +
  225. #\mbox{imag}(x)^{2}}}$ \\
  226. %abs(x)@any@absolute value of x, $|x|$; same type 
  227. %abs(x)@complex@length of x, $sqrt{roman real (x) sup 2 + roman imag (x) sup 2}$ 
  228.  The `abs` function returns the absolute value of its argument. The
  229.  returned value is of the same type as the argument.
  230.  
  231.  For complex arguments, abs(x) is defined as the length of x in the
  232.  complex plane [i.e.,  sqrt(real(x)**2 + imag(x)**2) ].
  233. 4 acos
  234. ?expressions functions acos
  235. ?functions acos
  236. ?acos
  237. #acos(x) & any  & $\cos^{-1} x$ (inverse cosine) in radians \\
  238. %acos(x)@any@$cos sup -1 x$ (inverse cosine) in radians 
  239.  The `acos` function returns the arc cosine (inverse cosine) of its
  240.  argument. `acos` returns its argument in radians.
  241. 4 arg
  242. ?expressions functions arg
  243. ?functions arg
  244. ?arg
  245. #arg(x) & complex & the phase of $x$ in radians\\
  246. %arg(x)@complex@the phase of $x$ in radians
  247.  The `arg` function returns the phase of a complex number, in radians.
  248. 4 asin
  249. ?expressions functions asin
  250. ?functions asin
  251. ?asin
  252. #asin(x) & any  & $\sin^{-1} x$ (inverse sin) in radians \\
  253. %asin(x)@any@$sin sup -1 x$ (inverse sin) in radians 
  254.  The `asin` function returns the arc sin (inverse sin) of its argument.
  255.  `asin` returns its argument in radians.
  256. 4 atan
  257. ?expressions functions atan
  258. ?functions atan
  259. ?atan
  260. #atan(x) & any  & $\tan^{-1} x$ (inverse tangent) in radians \\
  261. %atan(x)@any@$tan sup -1 x$ (inverse tangent) in radians 
  262.  The `atan` function returns the arc tangent (inverse tangent) of its
  263.  argument. `atan` returns its argument in radians.
  264. 4 besj0
  265. ?expressions functions besj0
  266. ?functions besj0
  267. ?besj0
  268. #besj0(x) & radians &  $j_{0}$ Bessel function of $x$ \\
  269. %besj0(x)@radians@$j sub 0$ Bessel function of $x$ 
  270.  The `besj0` function returns the j0th Bessel function of its argument.
  271.  `besj0` expects its argument to be in radians.
  272. 4 besj1
  273. ?expressions functions besj1
  274. ?functions besj1
  275. ?besj1
  276. #besj1(x) & radians & $j_{1}$ Bessel function of $x$ \\
  277. %besj1(x)@radians@$j sub 1$ Bessel function of $x$ 
  278.  The `besj1` function returns the j1st Bessel function of its argument.
  279.  `besj1` expects its argument to be in radians.
  280. 4 besy0
  281. ?expressions functions besy0
  282. ?functions besy0
  283. ?besy0
  284. #besy0(x) & radians & $y_{0}$ Bessel function of $x$ \\
  285. %besy0(x)@radians@$y sub 0$ Bessel function of $x$ 
  286.  The `besy0` function returns the y0th Bessel function of its argument.
  287.  `besy0` expects its argument to be in radians.
  288. 4 besy1
  289. ?expressions functions besy1
  290. ?functions besy1
  291. ?besy1
  292. #besy1(x) & radians & $y_{1}$ Bessel function of $x$ \\
  293. %besy1(x)@radians@$y sub 1$ Bessel function of $x$ 
  294.  The `besy1` function returns the y1st Bessel function of its argument.
  295.  `besy1` expects its argument to be in radians.
  296. 4 ceil
  297. ?expressions functions ceil
  298. ?functions ceil
  299. ?ceil
  300. #ceil(x) & any & $\lceil x \rceil$, smallest integer not less than $x$
  301. #(real part) \\
  302. %ceil(x)@any@$left ceiling x right ceiling$, smallest integer not less than $x$ (real part) 
  303.  The `ceil` function returns the smallest integer that is not less than its
  304.  argument. For complex numbers, `ceil` returns the smallest integer
  305.  not less than the real part of its argument.
  306. 4 cos
  307. ?expressions functions cos
  308. ?functions cos
  309. ?cos
  310. #cos(x) & radians & $\cos x$, cosine of $x$ \\
  311. %cos(x)@radians@$cos~x$, cosine of $x$ 
  312.  The `cos` function returns the cosine of its argument. `cos` expects its
  313.  argument to be in radians.
  314. 4 cosh
  315. ?expressions functions cosh
  316. ?functions cosh
  317. ?cosh
  318. #cosh(x) & radians & $\cosh x$, hyperbolic cosine of $x$ \\
  319. %cosh(x)@radians@$cosh~x$, hyperbolic cosine of $x$ 
  320.  The `cosh` function returns the hyperbolic cosine of its argument.
  321.  `cosh` expects its argument to be in radians.
  322. 4 exp
  323. ?expressions functions exp
  324. ?functions exp
  325. ?exp
  326. #exp(x) & any & $e^{x}$,  exponential function of $x$ \\
  327. %exp(x)@any@$e sup x$, exponential function of $x$ 
  328.  The `exp` function returns the exponential function of its argument
  329.  (`e` raised to the power of its argument).
  330. 4 floor
  331. ?expressions functions floor
  332. ?functions floor
  333. ?floor
  334. #floor(x) & any & $\lfloor x \rfloor$,  largest integer not greater
  335. #than $x$ (real part) \\
  336. %floor(x)@any@$left floor x right floor$, largest integer not greater than $x$ (real part) 
  337.  The `floor` function returns the largest integer not greater than its
  338.  argument. For complex numbers, `floor` returns the largest
  339.  integer not greater than the real part of its argument.
  340. 4 gamma
  341. ?expressions functions gamma
  342. ?functions gamma
  343. ?gamma
  344. #gamma(x) & any & $\Gamma(\mbox{real}(x))$,  gamma function of real($x$) \\
  345. %gamma(x)@any@$GAMMA ( roman real (x))$, gamma function of real ($x$)
  346.  The `gamma` function returns the gamma function of the real part of
  347.  its argument. For integer n, gamma(n+1) = n! .
  348.  If the argument is a complex value, the imaginary component is ignored.
  349. 4 imag
  350. ?expressions functions imag
  351. ?functions imag
  352. ?imag
  353. #imag(x) & complex &  imaginary part of $x$ as a real number \\
  354. %imag(x)@complex@imaginary part of $x$ as a real number 
  355.  The `imag` function returns the imaginary part of its argument as a
  356.  real number.
  357. 4 int
  358. ?expressions functions int
  359. ?functions int
  360. ?int
  361. #int(x) & real &  integer part of $x$, truncated toward zero \\
  362. %int(x)@real@integer part of $x,$ truncated toward zero 
  363.  The `int` function returns the integer part of its argument, truncated
  364.  toward zero.
  365. 4 log
  366. ?expressions functions log
  367. ?functions log
  368. ?log
  369. #log(x) & any & $\log_{e} x$,  natural logarithm (base $e$) of $x$ \\
  370. %log(x)@any@$ln~x$, natural logarithm (base $e$) of $x$ 
  371.  The `log` function returns the natural logarithm (base `e`) of its
  372.  argument.
  373. 4 log10
  374. ?expressions functions log10
  375. ?functions log10
  376. ?log10
  377. #log10(x) & any & $\log_{10} x$,  logarithm (base $10$) of $x$ \\
  378. %log10(x)@any@${log sub 10}~x$, logarithm (base $10$) of $x$ 
  379.  The `log10` function returns the logarithm (base 10) of its argument.
  380. 4 real
  381. ?expressions functions real
  382. ?functions real
  383. ?real
  384. #real(x) & any &  real part of $x$ \\
  385. %real(x)@any@real part of $x$ 
  386.  The `real` function returns the real part of its argument.
  387. 4 sgn
  388. ?expressions functions sgn
  389. ?functions sgn
  390. ?sgn
  391. #sgn(x) & any & 1 if $x>0$, -1 if $x<0$, 0 if $x=0$. imag($x$) ignored \\
  392. %sgn(x)@any@1 if $x > 0$, -1 if $x < 0$, 0 if $x = 0$. $roman imag (x)$ ignored 
  393.  The `sgn` function returns 1 if its argument is positive, -1 if its
  394.  argument is negative, and 0 if its argument is 0. If the argument
  395.  is a complex value, the imaginary component is ignored.
  396. 4 sin
  397. ?expressions functions sin
  398. ?functions sin
  399. ?sin
  400. #sin(x) & radians & $\sin x$, sine of $x$ \\
  401. %sin(x)@radians@$sin~x$, sine of $x$ 
  402.  The `sin` function returns the sine of its argument. `sin` expects its
  403.  argument to be in radians.
  404. 4 sinh
  405. ?expressions functions sinh
  406. ?functions sinh
  407. ?sinh
  408. #sinh(x) & radians & $\sinh x$, hyperbolic sine $x$ \\
  409. %sinh(x)@radians@$sinh~x$, hyperbolic sine $x$ 
  410.  The `sinh` function returns the hyperbolic sine of its argument. `sinh`
  411.  expects its argument to be in radians.
  412. 4 sqrt
  413. ?expressions functions sqrt
  414. ?functions sqrt
  415. ?sqrt
  416. #sqrt(x) & any & $\sqrt{x}$,  square root of $x$ \\
  417. %sqrt(x)@any@$sqrt x $, square root of $x$ 
  418.  The `sqrt` function returns the square root of its argument.
  419. 4 tan
  420. ?expressions functions tan
  421. ?functions tan
  422. ?tan
  423. #tan(x) & radians & $\tan x$,  tangent of $x$ \\
  424. %tan(x)@radians@$tan~x$, tangent of $x$ 
  425.  The `tan` function returns the tangent of its argument. `tan` expects
  426.  its argument to be in radians.
  427. 4 tanh
  428. ?expressions functions tanh
  429. ?functions tanh
  430. ?tanh
  431. #tanh(x) & radians & $\tanh x$, hyperbolic tangent of $x$\\
  432. %tanh(x)@radians@$tanh~x$, hyperbolic tangent of $x$
  433.  The `tanh` function returns the hyperbolic tangent of its argument.
  434.  `tanh` expects its argument to be in radians.
  435. @end table
  436. 3 operators
  437. ?expressions operators
  438. ?operators
  439.  The operators in GNUPLOT are the same as the corresponding operators
  440.  in the C programming language, except that all operators accept
  441.  integer, real, and complex arguments, unless otherwise noted.
  442.  The ** operator (exponentiation) is supported, as in FORTRAN.
  443.  
  444.  Parentheses may be used to change order of evaluation.
  445. 4 binary
  446. ?expressions operators binary
  447. ?operators binary
  448. ?binary
  449.  The following is a list of all the binary operators and their
  450.  usages:
  451.  
  452. @start table - first is interactive cleartext form
  453.   Symbol      Example      Explanation
  454.    **          a**b          exponentiation
  455.    *           a*b           multiplication
  456.    /           a/b           division
  457.    %           a%b         * modulo
  458.    +           a+b           addition
  459.    -           a-b           subtraction
  460.    ==          a==b          equality
  461.    !=          a!=b          inequality
  462.    &           a&b         * bitwise AND
  463.    ^           a^b         * bitwise exclusive OR
  464.    |           a|b         * bitwise inclusive OR
  465.    &&          a&&b        * logical AND
  466.    ||          a||b        * logical OR
  467.    ?:          a?b:c       * ternary operation
  468. #\multicolumn{3}{|c|}{Binary Operators} \\
  469. #Symbol & Example & Explanation \\ \hline
  470. #\verb~**~ & \verb~a**b~ & exponentiation\\
  471. #\verb~*~ & \verb~a*b~ & multiplication\\
  472. #\verb~/~ & \verb~a/b~ & division\\
  473. #\verb~%~ & \verb~a%b~ & * modulo\\
  474. #\verb~+~ & \verb~a+b~ & addition\\
  475. #\verb~-~ & \verb~a-b~ & subtraction\\
  476. #\verb~==~ & \verb~a==b~ & equality\\
  477. #\verb~!=~ & \verb~a!=b~ & inequality\\
  478. #\verb~&~ & \verb~a&b~ & * bitwise AND\\
  479. #\verb~^~ & \verb~a^b~ & * bitwise exclusive OR\\
  480. #\verb~|~ & \verb~a|b~ & * bitwise inclusive OR\\
  481. #\verb~&&~ & \verb~a&&b~ & * logical AND\\
  482. #\verb~||~ & \verb~a||b~ & * logical OR\\
  483. #\verb~?:~ & \verb~a?b:c~ & * ternary operation\\
  484. %Symbol@Example@Explanation
  485. %_
  486. %**@a**b@exponentiation
  487. %*@a*b@multiplication
  488. %/@a/b@division
  489. %%@a%b@* modulo
  490. %+@a+b@addition
  491. %-@a-b@subtraction
  492. %==@a==b@equality
  493. %!=@a!=b@inequality
  494. %&@a&b@* bitwise AND
  495. %^@a^b@* bitwise exclusive OR
  496. %|@a|b@* bitwise inclusive OR
  497. %&&@a&&b@* logical AND
  498. %||@a||b@* logical OR
  499. %?:@a?b:c@* ternary operation
  500.  
  501. @end table 
  502.  (*) Starred explanations indicate that the operator requires
  503.  integer arguments.
  504.  
  505.  Logical AND (&&) and OR (||) short-circuit the way they do in C.
  506.  That is, the second && operand is not evaluated if the first is
  507.  false; the second || operand is not evaluated if the first is true.
  508.  
  509.  The ternary operator evaluates its first argument (a). If it is
  510.  true (non-zero) the second argument (b) is evaluated and returned,
  511.  otherwise the third argument (c) is evaluated and returned.
  512. 4 unary
  513. ?expressions operators unary
  514. ?operators unary
  515. ?unary
  516.  The following is a list of all the unary operators and their
  517.  usages:
  518.  
  519. @start table - first is interactive cleartext form
  520.   Symbol     Example      Explanation
  521.    -           -a          unary minus
  522.    ~           ~a        * one's complement
  523.    !           !a        * logical negation
  524.    !           a!        * factorial
  525. #\multicolumn{3}{|c|}{Unary Operators}\\
  526. #Symbol & Example & Explanation \\ \hline
  527. #\verb@-@ & \verb@-a@ & unary minus \\
  528. #\verb@~@ & \verb@~a@ & * one's complement \\
  529. #\verb@!@ & \verb@!a@ & * logical negation \\
  530. #\verb@!@ & \verb@a!@ & * factorial \\
  531. %-@-a@unary minus
  532. %~@~a@* one's complement
  533. %!@!a@* logical negation
  534. %!@a!@* factorial
  535.  
  536. @end table 
  537.  (*) Starred explanations indicate that the operator requires an
  538.  integer argument.
  539.  
  540.  The factorial operator returns a real number to allow a greater range.
  541. 2 help
  542. ?help
  543.  The `help` command displays on-line help. To specify information on a
  544.  particular topic use the syntax:
  545.  
  546.          help {<topic>}
  547.  
  548.  If <topic> is not specified, a short message is printed about
  549.  GNUPLOT. After help for the requested topic is given, help for a
  550.  subtopic may be requested by typing its name, extending the help
  551.  request. After that subtopic has been printed, the request may be
  552.  extended again, or simply pressing return goes back one level to the
  553.  previous topic. Eventually, the GNUPLOT command line will return.
  554. 2 load
  555. ?load
  556.  The `load` command executes each line of the specified input file as
  557.  if it had been typed in interactively. Files created by the `save`
  558.  command can later be `load`ed. Any text file containing valid
  559.  commands can be created and then executed by the `load` command.
  560.  Files being `load`ed may themselves contain `load` commands. See
  561.  `comment` for information about comments in commands.
  562.  
  563.  The `load` command must be the last command on the line.
  564.  
  565.  Syntax:
  566.          load "<input-file>"
  567.  
  568.  The name of the input file must be enclosed in quotes.
  569.  
  570.  Examples:
  571.  
  572.          load 'work.gnu'
  573.          load "func.dat"
  574.  
  575.  The `load` command is performed implicitly on any file names given as
  576.  arguments to GNUPLOT. These are loaded in the order specified, and
  577.  then GNUPLOT exits.
  578. 2 pause
  579. ?pause
  580.  The `pause` command displays any text associated with the command and
  581.  then waits a specified amount of time or until the carriage return is
  582.  pressed.  `pause` is especially useful in conjunction with `load` files.
  583.  
  584.  Syntax:
  585.          pause <time> {"<string>"}
  586.  
  587.  <time> may be any integer constant or expression. Choosing -1 will
  588.  wait until a carriage return is hit, zero (0) won't pause at all, and
  589.  a positive integer will wait the specified number of seconds.
  590.  
  591.  Note: Since `pause` is not part of the plot it may interact with
  592.  different device drivers differently (depending upon how text and
  593.  graphics are mixed).
  594.  
  595.  Examples:
  596.          pause -1    # Wait until a carriage return is hit
  597.          pause 3     # Wait three seconds
  598.          pause -1  "Hit return to continue"
  599.          pause 10  "Isn't this pretty?  It's a cubic-spline."
  600.  
  601. 2 plot
  602. ?plot
  603. ?splot
  604.  `plot` and `splot` are the primary commands of the program. They plot
  605.  functions and data in many, many ways. `plot` is used to plot 2-d
  606.  functions and data, while `splot` plots 3-d surfaces and data.
  607.  
  608.  Syntax:
  609.  
  610.          plot {ranges}  <function> {title} {style}
  611.                      {, <function> {title} {style}...}
  612.  
  613.          splot {ranges}  <function> {title} {style}
  614.                       {, <function> {title} {style}...}
  615.  
  616.  where <function> is either a mathematical expression, the name of a
  617.  data file enclosed in quotes, or a pair (`plot`) or triple (`splot`)
  618.  of mathematical expressions in the case of parametric functions.
  619.  User-defined functions and variables may also be defined here.
  620.  
  621.  `plot` and `splot` commands can be as simple as
  622.  
  623.          plot sin(x)
  624.  
  625.  and
  626.  
  627.          splot x * y
  628.  
  629.  or as complex as (!)
  630.  
  631.          plot [t=1:10] [-pi:pi*2] tan(t),"data.1" with lines,t**2 with points
  632. 3 data-file
  633. ?plot datafile
  634. ?plot data-file
  635. ?splot datafile
  636. ?splot data-file
  637. ?datafile
  638. ?data-file
  639. ?data
  640.  Discrete data contained in a file can displayed by specifying the
  641.  name of the data file (enclosed in quotes) on the `plot` or `splot`
  642.  command line. Data files should contain one data point per line.
  643.  Lines beginning with # (or ! on VMS) will be treated as comments
  644.  and ignored. For `plot`s, each data point represents an (x,y)
  645.  pair. For `splot`s, each point is an (x,y,z) triple. For `plot`s with
  646.  error bars (see `plot errorbars`), each data point is either
  647.  (x,y,ydelta) or (x,y,ylow,yhigh). In all cases, the numbers on each
  648.  line of a data file must be separated by blank space. This blank
  649.  space divides each line into columns.
  650.  
  651.  For `plot`s the x value may be omitted, and for `splot`s the x
  652.  and y values may be omitted. In either case the omitted values are
  653.  assigned the current coordinate number. Coordinate numbers start at 0
  654.  and are incremented for each data point read.
  655.  
  656.  To specify other formats, see `plot datafile using`.
  657.  
  658.  In the `plot` command, blank lines in the data file cause a break in
  659.  the plot. There will be no line drawn between the preceding and
  660.  following points if the plot style is `lines` or `linespoints` (see
  661.  `plot style`). This does not change the plot style, as would plotting
  662.  the data as separate curves.
  663.  
  664.  This example compares the data in the file population.dat to a
  665.  theoretical curve:
  666.  
  667.          pop(x) = 103*exp((1965-x)/10)
  668.          plot [1960:1990] 'population.dat', pop(x)
  669.  
  670.  The file population.dat might contain:
  671.  
  672.          # Gnu population in Antarctica since 1965
  673.          1965   103
  674.          1970   55
  675.          1975   34
  676.          1980   24
  677.          1985   10
  678.  
  679.  When a data file is plotted, `samples` and `iso_samples` are ignored.
  680.  Curves plotted using the `plot` command are automatically extended to
  681.  hold the entire curve. Similarly grid data plotted using the `splot`
  682.  command is automatically extended, using the assumption that isolines
  683.  are separated by blank lines (a line with only a CR/LF in it).
  684.  
  685.  Implicitly, there are two types of 3-d datafiles. If all the isolines
  686.  are of the same length, the data is assumed to be a grid data, i.e.,
  687.  the data has a grid topology. Cross isolines in the other parametric
  688.  direction (the ith cross isoline passes thru the ith point of all the
  689.  provided isolines) will also be drawn for grid data. (Note contouring
  690.  is available for grid data only.) If all the isolines are not of the
  691.  same length, no cross isolines will be drawn and contouring that data
  692.  is impossible.
  693.  
  694.  For splot if 3-d datafile and using format (see `splot datafile using`)
  695.  specify only z (height field), a non parametric mode must be specified.
  696.  If, on the other hand, x, y, and z are all specified, a parametric
  697.  mode should be selected (see `set parametric`) since data is defining a
  698.  parametric surface.
  699.  
  700.  A simple example of plotting a 3-d data file is
  701.  
  702.          splot 'glass.dat'
  703.  
  704.  For more information about 3-d plotting, see `splot`.
  705. 4 using
  706. ?plot datafile using
  707. ?plot data-file using
  708. ?splot datafile using
  709. ?splot data-file using
  710. ?using
  711.  The format of data within a file can be selected with the `using` 
  712.  option. An explicit scanf string can be used, or simpler column
  713.  choices can be made.
  714.  
  715.  Syntax:
  716.  
  717.          plot "datafile" { using { <ycol> |
  718.                                    <xcol>:<ycol> |
  719.                                    <xcol>:<ycol>:<ydelta> |
  720.                                    <xcol>:<ycol>:<ylow>:<yhigh> }
  721.                                  {"<scanf string>"} } ...
  722.  
  723.  and
  724.  
  725.          splot "datafile" { using { <xcol>:<ycol>:<zcol> | <zcol> }
  726.                                   {"<scanf string>"} } ...
  727.  
  728.  <xcol>, <ycol>, and <zcol> explicitly select the columns to plot from
  729.  a space or tab separated multicolumn data file. If only <ycol> is
  730.  selected for `plot`, <xcol> defaults to 1. If only <zcol> is selected
  731.  for `splot`, then only that column is read from the file. An <xcol> of
  732.  0 forces <ycol> to be plotted versus its coordinate number. <xcol>,
  733.  <ycol>, and <zcol> can be entered as constants or expressions.
  734.  
  735.  If errorbars (see also `plot errorbars`) are used for `plot`s,
  736.  ydelta (for example, a +/- error) should be provided as the third
  737.  column, or ylow and yhigh as third and fourth columns.  These columns
  738.  must follow the x and y columns.
  739.  
  740.  Scanf strings override any <xcol>:<ycol>(:<zcol>) choices, except for
  741.  ordering of input, e.g.,
  742.          plot "datafile" using 2:1 "%f%*f%f"
  743.  causes the first column to be y and the third column to be x.
  744.  
  745.  If the scanf string is omitted, the default is generated based on the
  746.  <xcol>:<ycol>(:<zcol>) choices. If the `using` option is omitted, "%f%f"
  747.  is used for `plot` ("%f%f%f%f" for `errorbar` `plot`s) and "%f%f%f" is
  748.  used for `splot`.
  749.  
  750.  Examples:
  751.  
  752.          plot "MyData" using "%*f%f%*20[^\n]%f" with lines
  753.  
  754.  Data are read from the file "MyData" using the format
  755.  "%*f%f%*20[^\n]%f". The meaning of this format is: "%*f" ignore the
  756.  first number, "%f" then read in the second and assign to x,
  757.  "%*20[^\n]" then ignore 20 non-newline characters, "%f" then read in
  758.  the y value.
  759.  
  760.          n=3;
  761.          plot "MyData", "MyData" using n 
  762.  
  763.  causes GNUPLOT to plot the second and third columns of MyData versus
  764.  the first column. The command 'n=4; replot' would then plot the second
  765.  and fourth columns of MyData versus the first column.
  766.  
  767.          splot "glass.dat" using 1
  768.  
  769.  causes GNUPLOT to plot the first coordinate of the points of glass.dat
  770.  as the z coordinate while ignoring the other two coordinates.
  771.  
  772.  Note: GNUPLOT first reads a line of the data file into a buffer and 
  773.  then does a 
  774.          sscanf(input_buffer, scanf_string, &x, &y{, &z});
  775.  where 'x', 'y', and 'z' are of type 'float'. Any scanf string that
  776.  specifies two (three for `splot`, three or four for `errorbars`) float
  777.  numbers may be used.
  778. 3 errorbars
  779. ?plot errorbars
  780. ?errorbars
  781.  Error bars are supported for 2-d data file plots by reading one or
  782.  two additional columns specifying ydelta or ylow and yhigh
  783.  respectively. No support exists for x error bars or any error bars
  784.  for `splot`s.
  785.  
  786.  In the default situation, GNUPLOT expects to see three or four
  787.  numbers on each line of the data file, either (x, y, ydelta) or 
  788.  (x, y, ylow, yhigh). The x coordinate must be specified. The order
  789.  of the numbers must be exactly as given above. Data files in this
  790.  format can easily be plotted with error bars:
  791.  
  792.          plot "data.dat" with errorbars
  793.  
  794.  The error bar is a vertical line plotted from (x, ylow) to (x,
  795.  yhigh). If ydelta is specified instead of ylow and yhigh, 
  796.  ylow=y-ydelta and yhigh=y+ydelta are derived. If there
  797.  are only two numbers on the line, yhigh and ylow are both set to
  798.  y. To get lines plotted between the data points, `plot` the
  799.  data file twice, once with errorbars and once with lines.
  800.  
  801.  If y autoscaling is on, the y range will be adjusted to fit the
  802.  error bars.
  803.  
  804.  The `using` option may be used to specify how columns of the data file
  805.  are to be assigned to x, y, ydelta, ylow, and yhigh. The x column must
  806.  be provided and both the x and y columns must appear before the
  807.  errorbar columns. If three column numbers are given, they are x, y,
  808.  and ydelta. If four columns are given, they are x, y, ylow, and
  809.  yhigh.
  810.  
  811.  Examples:
  812.  
  813.          plot "data.dat" using 1:2:3:4 with errorbars
  814.          plot "data.dat" using 3:2:6 with errorbars
  815.          plot "data.dat" using 3:4:8:7 with errorbars
  816.  
  817.  The first example reads, x, y, ylow, and yhigh, from columns 1, 2, 3,
  818.  and 4. This is equivalent to the default.  The second example reads x
  819.  from the third column, y from second and ydelta from the sixth column.
  820.  The third example reads x from the third column, y from the fourth,
  821.  ylow from the eighth, and yhigh from seventh columns.
  822.  
  823.  See also `plot using` and `plot style`.
  824. 3 parametric
  825. ?plot parametric
  826. ?splot parametric
  827. ?parametric
  828.  When in parametric mode (`set parametric`) mathematical expressions must
  829.  be given in pairs for `plot` and in triplets for `splot`:
  830.          plot sin(t),t**2
  831.  or
  832.          splot cos(u)*cos(v),cos(u)*sin(v),sin(u)
  833.  
  834.  Data files are plotted as before, except any preceding parametric
  835.  function must be fully specified before a data file is given as a
  836.  plot. In other words, the x parametric function (sin(t) above) and
  837.  the y parametric function (t**2 above) must not be interrupted with
  838.  any modifiers or data functions; doing so will generate a syntax error
  839.  stating that the parametric function is not fully specified.
  840.  
  841.  Ranges take on a different meaning when in parametric mode. The first
  842.  range on the `plot` command is the `trange`, the next is the `xrange`,
  843.  and the last is the `yrange`. For `splot` the order is `urange`,
  844.  `vrange`, `xrange`, `yrange`, and finally `zrange`. The following
  845.  `plot` command shows setting the `trange` to [-pi:pi], the `xrange` to
  846.  [-1.3:1.3] and the `yrange` to [-1:1] for the duration of the plot:
  847.          plot [-pi:pi] [-1.3:1.3] [-1:1] sin(t),t**2
  848.  
  849.  Other modifiers, such as `with` and `title`, may be specified only
  850.  after the parametric function has been completed:
  851.          plot sin(t),t**2 title 'Parametric example' with linespoints
  852. 3 ranges
  853. ?splot ranges
  854. ?plot ranges
  855. ?ranges
  856.  The optional range specifies the region of the plot that will be
  857.  displayed.
  858.  
  859.  Ranges may be provided on the `plot` and `splot` command line and
  860.  affect only that plot, or in the `set xrange`, `set yrange`, etc.,
  861.  commands, to change the default ranges for future plots.
  862.  
  863.  Syntax:
  864.          [{<dummy-var> =} {<xmin> : <xmax>}] { [{<ymin> : <ymax>}] }
  865.  
  866.  where <dummy-var> is the independent variable (the defaults are x and
  867.  y, but this may be changed with `set dummy`) and the min and max
  868.  terms can be constant expressions.
  869.  
  870.  Both the min and max terms are optional. The ':' is also optional
  871.  if neither a min nor a max term is specified. This allows '[ ]' to
  872.  be used as a null range specification.
  873.  
  874.  Specifying a range in the `plot` command line turns autoscaling for
  875.  that axis off for that plot. Using one of the `set` range commands
  876.  turns autoscaling off for that axis for future plots, unless changed
  877.  later. (See `set autoscale`).
  878.  
  879.  Examples:
  880.  
  881.  This uses the current ranges:
  882.          plot cos(x)
  883.  
  884.  This sets the x range only:
  885.          plot [-10:30] sin(pi*x)/(pi*x)
  886.  
  887.  This is the same, but uses t as the dummy-variable:
  888.          plot [t = -10 :30]  sin(pi*t)/(pi*t)
  889.  
  890.  This sets both the x and y ranges:
  891.          plot [-pi:pi] [-3:3]  tan(x), 1/x
  892.  
  893.  This sets only the y range, and turns off autoscaling on both axes:
  894.          plot [ ] [-2:sin(5)*-8] sin(x)**besj0(x)
  895.  
  896.  This sets xmax and ymin only:
  897.          plot [:200] [-pi:]  exp(sin(x))
  898.  
  899.  This sets the x, y, and z ranges:
  900.          splot [0:3] [1:4] [-1:1] x*y
  901. 3 style
  902. ?plot style
  903. ?splot style
  904. ?style
  905. ?plot with
  906. ?with
  907.  Plots may be displayed in one of six styles: `lines`, `points`,
  908.  `linespoints`, `impulses`, `dots`, or `errorbars`. The `lines` style
  909.  connects adjacent points with lines. The `points` style displays a
  910.  small symbol at each point. The `linespoints` style does both
  911.  `lines` and `points`. The `impulses` style displays a vertical line
  912.  from the x axis (or from the grid base for `splot`) to each point. The
  913.  `dots` style plots a tiny dot at each point; this is useful for
  914.  scatter plots with many points.
  915.  
  916.  The `errorbars` style is only relevant to 2-d data file plotting. It
  917.  is treated like `points` for `splot`s and function `plot`s. For data
  918.  `plot`s, `errorbars` is like `points`, except that a vertical error 
  919.  bar is also drawn: for each point (x,y), a line is drawn from
  920.  (x,ylow) to (x,yhigh). A tic mark is placed at the ends of the error
  921.  bar. The ylow and yhigh values are read from the data file's columns,
  922.  as specified with the `using` option to plot. See `plot errorbars` for
  923.  more information.
  924.  
  925.  Default styles are chosen with the `set function style` and
  926.  `set data style` commands.
  927.  
  928.  By default, each function and data file will use a different 
  929.  line type and point type, up to the maximum number of available 
  930.  types. All terminal drivers support at least six different point
  931.  types, and re-use them, in order, if more than six are required.
  932.  The LaTeX driver supplies an additional six point types (all variants
  933.  of a circle), and thus will only repeat after twelve curves are
  934.  plotted with points.
  935.  
  936.  If desired, the style and (optionally) the line type and point type
  937.  used for a curve can be specified.
  938.  
  939.  Syntax:
  940.  
  941.          with <style> {<linetype> {<pointtype>}}
  942.  
  943.  where <style> is either `lines`, `points`, `linespoints`, `impulses`,
  944.  `dots`, or `errorbars`. The <linetype> and <pointtype> are positive
  945.  integer constants or expressions and specify the line type and point
  946.  type to be used for the plot. Line type 1 is the first line type used
  947.  by default, line type 2 is the second line type used by default, etc.
  948.  
  949.  Examples:
  950.  
  951.  This plots sin(x) with impulses:
  952.          plot sin(x) with impulses
  953.  
  954.  This plots x*y with points, x**2 + y**2 default:
  955.          splot x*y w points, x**2 + y**2
  956.  
  957.  This plots tan(x) with the default function style, "data.1" with lines:
  958.          plot [ ] [-2:5] tan(x), "data.1" with l
  959.  
  960.  This plots "leastsq.dat" with impulses:
  961.          plot 'leastsq.dat' w i
  962.  
  963.  This plots "exper.dat" with errorbars and lines connecting the points:
  964.          plot 'exper.dat' w lines, 'exper.dat' w errorbars
  965.  Here 'exper.dat' should have three or four data columns.
  966.  
  967.  This plots x**2 + y**2 and x**2 - y**2 with the same line type:
  968.          splot x**2 + y**2 with line 1, x**2 - y**2 with line 1
  969.  
  970.  This plots sin(x) and cos(x) with linespoints, using the
  971.  same line type but different point types:
  972.          plot sin(x) with linesp 1 3, cos(x) with linesp 1 4
  973.  
  974.  This plots file "data" with points style 3:
  975.          plot "data" with points 1 3 
  976.  Note that the line style must be specified when specifying the point
  977.  style, even when it is irrelevant. Here the line style is 1 and the
  978.  point style is 3, and the line style is irrelevant.
  979.  
  980.  See `set style` to change the default styles.
  981. 3 title
  982. ?plot title
  983. ?splot title
  984.  A title of each plot appears in the key. By default the title is
  985.  the function or file name as it appears on the plot command line.
  986.  The title can be changed by using the `title` option. This option 
  987.  should precede any `with` option.
  988.  
  989.  Syntax:
  990.          title "<title>"
  991.  
  992.  where <title> is the new title of the plot and must be enclosed in
  993.  quotes. The quotes will not be shown in the key.
  994.  
  995.  Examples:
  996.  
  997.  This plots y=x with the title 'x':
  998.          plot x
  999.  
  1000.  This plots the "glass.dat" file with the title 'surface of revolution':
  1001.          splot "glass.dat" title 'surface of revolution'
  1002.  
  1003.  This plots x squared with title "x^2" and "data.1" with title
  1004.  'measured data':
  1005.          plot x**2 title "x^2", "data.1" t 'measured data'
  1006. 2 print
  1007. ?print
  1008.  The `print` command prints the value of <expression> to the screen.
  1009.  
  1010.  Syntax:
  1011.          print <expression>
  1012.  
  1013.  See `expressions`.
  1014. 2 pwd
  1015. ?pwd
  1016.  The `pwd` command prints the name of the working directory to the screen.
  1017.  
  1018.  Syntax:
  1019.          pwd
  1020. 2 quit
  1021. ?quit
  1022.  The `exit` and `quit` commands and END-OF-FILE character will exit
  1023.  GNUPLOT. All these commands will clear the output device (as the
  1024.  `clear` command does) before exiting.
  1025. 2 replot
  1026. ?replot
  1027.  The `replot` command without arguments repeats the last `plot` or `splot`
  1028.  command. This can be useful for viewing a plot with different `set`
  1029.  options, or when generating the same plot for several devices.
  1030.  
  1031.  Arguments specified after a `replot` command will be added onto the last
  1032.  `plot` (`splot`) command (with an implied ',' separator) before it is
  1033.  repeated. `replot` accepts the same arguments as the `plot` (`splot`)
  1034.  commands except that ranges cannot be specified. See `command-line
  1035.  editing` for ways to edit the last `plot` (`splot`) command.
  1036. 2 save
  1037. ?save
  1038.  The `save` command saves user-defined functions, variables, set
  1039.  options or all three plus the last `plot` (`splot`) command to the
  1040.  specified file.
  1041.  
  1042.  Syntax:
  1043.          save  {<option>} "<filename>"
  1044.  
  1045.  where <option> is `functions`, `variables` or `set`. If no option is
  1046.  used, GNUPLOT saves functions, variables, set options and the last `plot`
  1047.  (`splot`) command.
  1048.  
  1049.  `save`d files are written in text format and may be read by the `load`
  1050.  command.
  1051.  
  1052.  The filename must be enclosed in quotes.
  1053.  
  1054.  Examples:
  1055.  
  1056.          save "work.gnu"
  1057.          save functions 'func.dat'
  1058.          save var 'var.dat'
  1059.          save set "options.dat"
  1060. 2 set-show
  1061. ?set
  1062. ?show
  1063.  The `set` command sets LOTS of options.
  1064.  
  1065.  The `show` command shows their settings. `show all` shows all the
  1066.  settings.
  1067. 3 angles
  1068. ?set angles
  1069. ?show angles
  1070. ?angles
  1071.  By default, GNUPLOT assumes the independent variable in polar plots
  1072.  is in units of radians. If `set angles degrees` is specified before
  1073.  `set polar` then the default range is [0:360] and the independent
  1074.  variable has units of degrees. This is particularly useful for
  1075.  plots of data files. The angle setting also hold for the 3-d
  1076.  mapping as set via the `set mapping` command.
  1077.  
  1078.  Syntax:
  1079.          set angles { degrees | radians }
  1080.          show angles
  1081. 3 arrow
  1082. ?set arrow
  1083. ?set noarrow
  1084. ?show arrow
  1085. ?arrow
  1086. ?noarrow
  1087.  Arbitrary arrows can be placed on a plot using the `set arrow`
  1088.  command.
  1089.  
  1090.  Syntax:
  1091.  
  1092.           set arrow {<tag>} {from <sx>,<sy>{,<sz>}} 
  1093.                             {to <ex>,<ey>{,<ez>}} {{no}head}
  1094.           set noarrow {<tag>}
  1095.           show arrow
  1096.  
  1097.  
  1098.  Unspecified coordinates default to 0. The x, y, and z values are in
  1099.  the graph's coordinate system. The z coordinate is only used in
  1100.  `splot` commands. <tag> is an integer that identifies the arrow. If no
  1101.  tag is given, the lowest unused tag value is assigned automatically.
  1102.  The tag can be used to delete or change a specific arrow. To change
  1103.  any attribute of an existing arrow, use the `set arrow` command with
  1104.  the appropriate tag, and specify the parts of the arrow to be
  1105.  changed. Specifying nohead requests the arrow be drawn without a head
  1106.  (yielding a line segment). By default, arrows have heads.
  1107.  
  1108.  Arrows outside the plotted boundaries are permitted but may cause
  1109.  device errors.
  1110.  
  1111.  Examples:
  1112.  
  1113.  To set an arrow pointing from the origin to (1,2), use:
  1114.           set arrow to 1,2
  1115.  To set an arrow from (-10,4,2) to (-5,5,3), and tag the arrow number
  1116.  3, use:
  1117.           set arrow 3 from -10,4,2 to -5,5,3
  1118.  To change the preceding arrow begin at 1,1,1, without an arrow head,
  1119.  use:
  1120.           set arrow 3 from 1,1,1 nohead
  1121.  To delete arrow number 2 use:
  1122.           set noarrow 2
  1123.  To delete all arrows use:
  1124.           set noarrow
  1125.  To show all arrows (in tag order) use:
  1126.           show arrow
  1127. 3 autoscale
  1128. ?set autoscale
  1129. ?set noautoscale
  1130. ?show autoscale
  1131. ?autoscale
  1132. ?noautoscale
  1133.  Auto scaling may be set individually on the x, y or z axis
  1134.  or globally on all axes. The default is to autoscale all axes.
  1135.  
  1136.  When autoscaling, the plot range is automatically computed and the
  1137.  dependent axis (y for a `plot` and z for `splot`) is scaled to
  1138.  include the range of the function or data being plotted.
  1139.  
  1140.  If autoscaling of the dependent axis (y or z) is not set, the
  1141.  current y or z range is used.
  1142.  
  1143.  See `set yrange` or `set zrange`.
  1144.  
  1145.  Autoscaling the independent variables (x for `plot` and x,y for
  1146.  `splot`) is a request to set the domain to match any data file being
  1147.  plotted. If there are no data files then autoscaling an independent
  1148.  variable has no effect. In other words, in the absence of a data
  1149.  file, functions alone do not affect the x range (or the y range if
  1150.  plotting z = f(x,y)).
  1151.  
  1152.  See `set xrange`, or `set yrange`.
  1153.  
  1154.  The behavior of autoscaling remains consistent in parametric mode,
  1155.  however, there are more dependent variables and hence more control
  1156.  over x, y, and z plot scales. In parametric mode, the independent or
  1157.  dummy variable is t for `plot`s and u,v for `splot`s.  Autoscale in
  1158.  parametric mode, then, controls all ranges (t, u, v, x, y, and z) and
  1159.  allows x, y, and z to be fully autoscaled.
  1160.  
  1161.  See `set parametric`.
  1162.  
  1163.  Syntax:
  1164.          set autoscale <axes>
  1165.          set noautoscale <axes>
  1166.          show autoscale
  1167.  
  1168.  where <axes> is either `x`, `y`, `z` or `xy`. If <axes> is not given
  1169.  then all axes are assumed.
  1170.  
  1171.  Examples:
  1172.  
  1173.  This sets autoscaling of the y axis. x axis autoscaling is not
  1174.  affected.
  1175.          set autoscale y
  1176.  
  1177.  This sets autoscaling of the x and y axes.
  1178.          set autoscale xy
  1179.  
  1180.  This sets autoscaling of the x, y and z axes.
  1181.          set autoscale
  1182.  
  1183.  This disables autoscaling of the x, y and z axes.
  1184.          set noautoscale
  1185.  
  1186.  This disables autoscaling of the z axis only.
  1187.          set noautoscale z
  1188. 4 parametric mode
  1189. ?autoscale parametric
  1190. ?set autoscale t
  1191.  When in parametric mode (`set parametric`) the xrange is as
  1192.  fully scalable as the yrange. In other words, in parametric
  1193.  mode the x axis can be automatically scaled to fit the range
  1194.  of the parametric function that is being plotted. Of course,
  1195.  the y axis can also be automatically scaled just as in the
  1196.  non-parametric case. If autoscaling on the x axis is not set,
  1197.  the current x range is used.
  1198.  
  1199.  When there is a mix of data files and functions, the xrange of
  1200.  the functions is selected as that of the data files if autoscale
  1201.  is true for x. While this keeps the behavior compatible with
  1202.  non-parametric plotting, it may not be retained in the future.
  1203.  The problem is that, in parametric mode, the x and y ranges are
  1204.  not as distinguishable as in the non-parametric mode and this
  1205.  behavior may not be the most useful.
  1206.  
  1207.  For completeness a last command `set autoscale t` is accepted.
  1208.  However, the effect of this "scaling" is very minor. When
  1209.  GNUPLOT determines that the t range would be empty it makes a
  1210.  small adjustment if autoscaling is true. Otherwise, GNUPLOT
  1211.  gives an error. Such behavior may, in fact, not be very useful
  1212.  and the command `set autoscale t` is certainly questionable.
  1213.  
  1214.  `splot` extends the above idea similarly. If autoscaling is set then
  1215.  x, y, and z ranges are computed and each axis scaled to fit the
  1216.  resulting data.
  1217. 3 border
  1218. ?set border
  1219. ?set noborder
  1220. ?show border
  1221. ?border
  1222. ?noborder
  1223.  The `set border` and `set noborder` commands controls the display of
  1224.  the plot borders for the `plot` and `splot` commands.
  1225.  
  1226.  Syntax:
  1227.          set border
  1228.          set noborder
  1229.          show border
  1230. 3 clip
  1231. ?set clip
  1232. ?set noclip
  1233. ?show clip
  1234. ?clip
  1235. ?noclip
  1236.  GNUPLOT can clip data points and lines that are near the boundaries
  1237.  of a plot. 
  1238.  
  1239.  Syntax:
  1240.          set clip <clip-type>
  1241.          set noclip <clip-type>
  1242.          show clip
  1243.  
  1244.  Three clip types are supported by GNUPLOT: `points`, `one`, and `two`.
  1245.  One, two, or all three clip types may be active for a single plot.
  1246.  
  1247.  The `points` clip type forces GNUPLOT to clip (actually, not plot at
  1248.  all) data points that fall within but too close to the boundaries
  1249.  (this is so the large symbols used for points will not extend outside
  1250.  the boundary lines). Without clipping points near the boundaries may
  1251.  look bad; try adjusting the x and y ranges.
  1252.  
  1253.  Setting the `one` clip type causes GNUPLOT to plot the line segments
  1254.  which have only one of the two endpoints with the plotting region.
  1255.  Only the in-range portion of the line is drawn.  The alternative is to
  1256.  not draw any portion of the line segment.
  1257.  
  1258.  Some lines may have both endpoints out of range, but pass through the
  1259.  plotting area. Setting the `two` clip-type allows the visible portion
  1260.  of these lines to be drawn.
  1261.  
  1262.  In no case is a line drawn outside the plotting area.
  1263.  
  1264.  The defaults are `noclip points`, `clip one`, and `noclip two`.
  1265.  
  1266.  To check the state of all forms of clipping, use
  1267.          show clip
  1268.  
  1269.  For backward compatibility with older versions, the following forms
  1270.  are also permitted.
  1271.         set clip
  1272.         set noclip
  1273.  `set clip` is synonymous with `set clip points`. `set noclip` turns
  1274.  off all three types of clipping.
  1275. 3 Cntrparam
  1276. ?set cntrparam
  1277. ?show cntrparam
  1278. ?cntrparam
  1279.  Sets the different parameters for the contouring plot (see also `contour`).
  1280.  
  1281.  Syntax:
  1282.          set cntrparam { { linear | cubicspline | bspline } |
  1283.                          points <n> |
  1284.                          levels <n> |
  1285.                          order <n> }
  1286.  
  1287.  This command controls the way contours are plotted. <n> should be an
  1288.  integral constant expression. The parameters are:
  1289.  
  1290.  `linear`, `cubicspline`, `bspline` - Controls type of approximation or
  1291.  interpolation. If `linear`, then the contours are drawn piecewise
  1292.  linear, as extracted from the surface directly. If `cubicspline`, then
  1293.  piecewise linear contours are interpolated to form a somewhat smoother
  1294.  contours, but which may undulate. The third option is the uniform
  1295.  `bspline`, which only approximates the piecewise linear data but is
  1296.  guaranteed to be smoother.
  1297.  
  1298.  `points` - Eventually all drawings are done with piecewise linear
  1299.  strokes.  This number controls the number of points used to
  1300.  approximate a curve.  Relevant for `cubicspline` and `bspline` modes
  1301.  only.
  1302.  
  1303.  `levels` - Number of contour levels. If the surface is bounded by zmin
  1304.  and zmax then contours will be generated from zmin+dz to zmax-dz
  1305.  in steps of size dz, where dz = (zmax - zmin) / (levels + 1).
  1306.  
  1307.  `order`  - Order of the bspline approximation to be used. The bigger this
  1308.  order is, the smoother the resulting contour.  (Of course, higher order
  1309.  bspline curves will move further away from the original peicewise linear
  1310.  data.)  This option is relevant for `bspline` mode only. Allowed values are 
  1311.  integers in the range from 2 (linear) to 10.
  1312. 3 contour
  1313. ?set contour
  1314. ?show contour
  1315. ?contour
  1316.  Enable contour drawing for surfaces. This option is available for `splot`
  1317.  only.
  1318.  
  1319.  Syntax:
  1320.          set contour { base | surface | both }
  1321.          set nocontour
  1322.  
  1323.  If no option is provided to `set contour`, the default is `base`.
  1324.  The three options specify where to draw the contours: `base` draws
  1325.  the contours on the grid base where the x/ytics are placed, `surface`
  1326.  draws the contours on the surfaces themselves, and `both` draws the
  1327.  contours on both the base and the surface.
  1328.  
  1329.  See also `set cntrparam` for the parameters that affect the drawing of 
  1330.  contours.
  1331. 3 data style
  1332. ?set data style
  1333. ?show data style
  1334. ?data style
  1335.  The `set data style` command changes the default plotting style
  1336.  for data plots.
  1337.  
  1338.  Syntax:
  1339.          set data style 
  1340.          show data style 
  1341.          set data style <style-choice>
  1342.  
  1343.  In the first case, `set data style` returns the possible style
  1344.  choices:  `lines`, `points`, `linespoints`, `dots`, `impulses`, 
  1345.  or `errorbars`.  `show data style` shows the current default
  1346.  plotting style for data.  `set data style dots` would actually 
  1347.  change the default plotting style.  See also `plot`.
  1348. 3 dummy
  1349. ?set dummy
  1350. ?show dummy
  1351. ?dummy
  1352.  By default, GNUPLOT assumes that the independent variable for the
  1353.  `plot` command is x, and the independent variables for the `splot`
  1354.  command are x and y. They are called the dummy variables because it
  1355.  is just a notation to indicate the independent variables. The `set
  1356.  dummy` command changes these default dummy variable names. For
  1357.  example, it may be more convenient to call the dummy variable t
  1358.  when plotting time functions:
  1359.  
  1360.          set dummy t
  1361.          plot sin(t), cos(t)
  1362.  
  1363.  Syntax:
  1364.          set dummy <dummy-var>{,<dummy-var>}
  1365.          show dummy
  1366.  
  1367.  Examples:
  1368.          set dummy u,v
  1369.          set dummy ,s
  1370.  
  1371.  to set both dummy variables to u and v or set only the second
  1372.  variable to s.
  1373.  
  1374.  The `set parametric` command also changes the dummy variables (to t
  1375.  for `plot` and u,v for `splot`s).
  1376.  
  1377. 3 format
  1378. ?set format
  1379. ?show format
  1380. ?format
  1381.  The format of the tic-mark labels can be set with the `set format`
  1382.  command. The default format for both axes is "%g", but other formats
  1383.  such as "%.2f" or "%3.0fm" are often desirable. Anything accepted by
  1384.  printf when given a double precision number, and then accepted by the
  1385.  terminal, will work. In particular, the formats f, e, and g will work,
  1386.  and the d, o, x, c, s, and u formats will not work.
  1387.  
  1388.  Syntax:
  1389.          set format {<axes>} {"<format-string>"}
  1390.          show format
  1391.  
  1392.  where <axes> is either `x`, `y`, `z`, `xy`, or nothing (which is the
  1393.  same as `xy`). The length of the string representing a ticmark (after
  1394.  formatting with printf) is restricted to 100 characters.  If the
  1395.  format string is omitted, the format will be returned to the default
  1396.  "%g". For LaTeX users, the format "$%g$" is often desirable.  If the
  1397.  empty string "" is used, no label will be plotted with each tic,
  1398.  though the tic mark will still be plotted. To eliminate all tic marks,
  1399.  use `set noxtics` or `set noytics`.
  1400.  
  1401.  See also `set xtics` and `set ytics` for more control over tic labels.
  1402. 3 function style
  1403. ?set function style
  1404. ?show function style
  1405. ?function style
  1406.  The `set function style` command changes the default plotting style
  1407.  for functions.
  1408.  
  1409.  Syntax:
  1410.          set function style 
  1411.          show function style 
  1412.          set function style <style-choice>
  1413.  
  1414.  In the first case, `set function style` returns the possible style
  1415.  choices:  `lines`, `points`, `linespoints`, `dots`, `impulses`, 
  1416.  or `errorbars`.  `show function style` shows the current default
  1417.  plotting style for functions.  `set function style linespoints`
  1418.  would actually change the default plotting style.  See also `plot`.
  1419. 3 functions
  1420. ?show functions
  1421.  The `show functions` command lists all user-defined functions and
  1422.  their definitions.
  1423.  
  1424.  Syntax:
  1425.          show functions
  1426. 3 grid
  1427. ?set grid
  1428. ?show grid
  1429. ?grid
  1430.  The optional `set grid` draws a grid at the tic marks with the axis
  1431.  linetype.
  1432.  
  1433.  Syntax:
  1434.          set grid
  1435.          set nogrid
  1436.          show grid
  1437. 3 isosamples
  1438. ?set isosamples
  1439. ?show isosamples
  1440. ?isosamples
  1441.  An isoline is a curve parametrized by one of the surface parameters
  1442.  while the other surface parameter is fixed. Isolines are a simple
  1443.  means to display a surface. By fixing the u parameter of surface
  1444.  s(u,v), the iso-u lines of the form c(v) = s(u0,v) are produced, and
  1445.  by fixing the v parameter, the iso-v lines of the form c(u) = s(u,v0)
  1446.  are produced.
  1447.  
  1448.  The isoline density of surfaces may be changed by the `set isosamples`
  1449.  command. By default, sampling is set to 10 isolines per u or v axis.
  1450.  A higher sampling rate will produce more accurate plots, but will take
  1451.  longer. This parameter has no effect on data file plotting.
  1452.  
  1453.  Syntax:
  1454.          set isosamples <expression>
  1455.          show isosamples
  1456. 3 key
  1457. ?set key
  1458. ?show key
  1459. ?key
  1460.  The `set key` enables a key describing curves on a plot.  By default
  1461.  the key is placed in the upper right corner of the plot.
  1462.  
  1463.  Syntax:
  1464.          set key
  1465.          set key <x>,<y>{,<z>}
  1466.          set nokey
  1467.          show key
  1468.  
  1469.  The coordinates <x>, <y> (and <z> for `splot`s) specify the location
  1470.  of the key on the plot. The key is drawn as a sequence of lines, with
  1471.  one plot described on each line. On the right hand side of each line
  1472.  is a representation that attempts to mimic the way the curve is
  1473.  plotted.  On the left side of each line is the text description,
  1474.  obtained from the `plot` command. See `plot title` to change this
  1475.  description. The lines are vertically arranged so an imaginary
  1476.  straight line divides the left- and right-hand sides of the key. It is
  1477.  the coordinates of this line that are specified with the `set key`
  1478.  command. In a `plot`, only the x and y coordinates are used to specify
  1479.  the line position.  For a `splot`, x, y and z are all being used as a
  1480.  3-d location mapped using the same mapping as the plot itself to form
  1481.  the required 2-d screen position of the imaginary line.
  1482.  
  1483.  Some or all of the key may be outside of the plot boundary, although
  1484.  this may interfere with other labels and may cause an error on some
  1485.  devices.
  1486.  
  1487.  Examples:
  1488.  
  1489.  This places the key at the default location:
  1490.          set key
  1491.  This disables the key:
  1492.          set nokey
  1493.  This places a key at coordinates 2,3.5,2
  1494.          set key 2,3.5,2
  1495. 3 label
  1496. ?set label
  1497. ?set nolabel
  1498. ?show label
  1499. ?label
  1500. ?nolabel
  1501.  Arbitrary labels can be placed on the plot using the `set label`
  1502.  command.  If the z coordinate is given on a `plot` it is ignored; if
  1503.  it is missing on a `splot` it is assumed to be 0.
  1504.  
  1505.  Syntax:
  1506.  
  1507.           set label {<tag>} {"<label_text>"} {at <x>,<y>{,<z>}}
  1508.                             {<justification>}
  1509.           set nolabel {<tag>}
  1510.           show label
  1511.  
  1512.  
  1513.  The text defaults to "", and the position to 0,0,0.  The <x>, <y>, and
  1514.  <z> values are in the graph's coordinate system.  The tag is an
  1515.  integer that is used to identify the label. If no <tag> is given, the
  1516.  lowest unused tag value is assigned automatically. The tag can be used
  1517.  to delete or change a specific label. To change any attribute of an
  1518.  existing label, use the `set label` command with the appropriate tag,
  1519.  and specify the parts of the label to be changed.
  1520.  
  1521.  By default, the text is placed flush left against the point x,y,z.
  1522.  To adjust the way the label is positioned with respect to the point
  1523.  x,y,z, add the parameter <justification>, which may be `left`, `right`
  1524.  or `center`, indicating that the point is to be at the left, right or
  1525.  center of the text. Labels outside the plotted boundaries are
  1526.  permitted but may interfere with axes labels or other text.
  1527.  
  1528.  Examples:
  1529.  
  1530.  To set a label at (1,2) to "y=x" use:
  1531.           set label "y=x" at 1,2
  1532.  To set a label "y=x^2" with the right of the text at (2,3,4), and tag
  1533.  the label number 3, use:
  1534.           set label 3 "y=x^2" at 2,3,4 right
  1535.  To change the preceding label to center justification, use:
  1536.           set label 3 center
  1537.  To delete label number 2 use:
  1538.           set nolabel 2
  1539.  To delete all labels use:
  1540.           set nolabel
  1541.  To show all labels (in tag order) use:
  1542.           show label
  1543.  
  1544.  (The Latex, EEPIC, and Imagen drivers allow \\ in a string to specify
  1545.  a newline.)
  1546. 3 logscale
  1547. ?set logscale
  1548. ?set nologscale
  1549. ?show logscale
  1550. ?logscale
  1551. ?nologscale
  1552.  Log scaling may be set on the x, y, and z axes.
  1553.  
  1554.  Syntax:
  1555.          set logscale <axes>
  1556.          set nologscale <axes>
  1557.          show logscale
  1558.  
  1559.  where <axes> may be any combinations of `x`, `y`, and `z`, in any
  1560.  order.  If <axes> is not given then all three axes are assumed.  The
  1561.  command `set logscale` turns on log scaling on the specified axes,
  1562.  while `set nologscale` turns off log scaling.
  1563.  
  1564.  Examples:
  1565.  
  1566.  To enable log scaling in both x and z axes:
  1567.         set logscale xz
  1568.  To disable z axis log scaling:
  1569.         set nologscale z
  1570. 3 mapping
  1571. ?set mapping
  1572. ?show mapping
  1573. ?mapping
  1574.  
  1575.  Syntax:
  1576.          set mapping { cartesian | spherical | cylindrical }
  1577.  
  1578.  Data for `splot`s are usually in regular Euclidean space and are
  1579.  provided in Cartesian coordinates. Such 3-d data require three
  1580.  coordinates (x, y and z) or one coordinate (only z) in each line in
  1581.  the data file.  In order to be able to use spherical or cylindrical
  1582.  coordinate systems, use the `set mapping` command. In both cases two
  1583.  coordinates are expected in each line of the data. For a spherical
  1584.  coordinate system, these are theta and phi (in units as specified by
  1585.  `set angles`) and the mapping is:
  1586.  
  1587.          x = cos( theta ) * cos( phi )
  1588.          y = sin( theta ) * cos( phi )
  1589.          z = sin( phi )
  1590.  
  1591.  For a cylindrical coordinate system, the mapping uses two variables,
  1592.  theta (in units as specified by `set angles`) and z:
  1593.  
  1594.          x = cos( theta )
  1595.          y = sin( theta )
  1596.          z = z
  1597.  
  1598.  Again, note that mapping will affect data file `splot`s only.
  1599. 3 offsets
  1600. ?set offsets
  1601. ?show offsets
  1602. ?offsets
  1603.  The amount of the graph that the plot takes up may be controlled to
  1604.  some extent with the `set offsets` command. This command takes four
  1605.  offset arguments: <left>, <right>, <top> and <bottom>. By default,
  1606.  each offset is 0. Each offset may be a constant or an expression. Left
  1607.  and right offsets are given in units of the x axis, while top and
  1608.  bottom offsets are given in units of the y axis. The plot of sin(x),
  1609.  displayed with offsets of 0, 0, 2, 2 will take up 1/3 of the
  1610.  displayed y axis. Offsets are particularly useful with polar
  1611.  coordinates as a means of compensating for aspect ratio distortion.
  1612.  Offsets are ignored in `splot`s.
  1613.  
  1614.  Syntax:
  1615.          set offsets <left>, <right>, <top>, <bottom>
  1616.          show offsets
  1617. 3 output
  1618. ?set output
  1619. ?show output
  1620. ?output
  1621.  By default, plots are displayed to the standard output. The `set
  1622.  output` command redirects the display to the specified file or
  1623.  device.
  1624.  
  1625.  Syntax:
  1626.          set output {"<filename>"}
  1627.          show output
  1628.  
  1629.  The filename must be enclosed in quotes. If the filename is
  1630.  omitted, output will be sent to the standard output.
  1631. 3 parametric
  1632. ?set parametric
  1633. ?set noparametric
  1634. ?show parametric
  1635. ?parametric
  1636. ?noparametric
  1637.  The `set parametric` command changes the meaning of `plot` (`splot`)
  1638.  from normal functions to parametric functions. The command
  1639.  `set noparametric` changes the plotting style back to normal,
  1640.  single-valued expression plotting.
  1641.  
  1642.  In 2-d plotting, a parametric function is determined by a pair
  1643.  of parametric functions operating on a parameter. An example
  1644.  of a 2-d parametric function would be plot sin(t),cos(t) (which
  1645.  defines a circle).
  1646.  
  1647.  For 3-d plotting, the surface is described as x=f(u,v), y=g(u,v),
  1648.  z=h(u,v). Therefore a triplet of functions are required. An example of
  1649.  3-d parametric function would be cos(u)*cos(v),cos(u)*sin(v),sin(u)
  1650.  (which defines a sphere). It takes three parametric function
  1651.  specifications in terms of the parametric dummy arguments to describe
  1652.  a single graph.
  1653.  
  1654.  The total set of possible plots is a superset of the simple f(x)
  1655.  style plots, since the two (three) functions can describe the
  1656.  x and y (and z) values to be computed separately. In fact,
  1657.  plots of the type t,f(t) (u,v,f(u,v)) are equivalent to those
  1658.  produced with f(x) when the x values are computed using the
  1659.  identity function as the first function.
  1660.  
  1661.  Note that the order the parametric functions are specified is
  1662.  xfunction, yfunction (and zfunction) and that each operates over the
  1663.  common parametric domain.
  1664.  
  1665.  Also, the `set parametric` function implies a new range of values.
  1666.  Whereas the normal f(x) and f(x,y) style plotting assume an xrange
  1667.  and yrange (and zrange), the parametric mode additionally specifies a
  1668.  trange, urange, and vrange. These ranges may be set
  1669.  directly with `set trange`, `set urange` and `set vrange`, or by
  1670.  specifying the range on the `plot` or `splot` commands. Currently
  1671.  the default range for these parametric variables is [-5:5].
  1672.  Setting the ranges to something more meaningful is expected.
  1673. 3 polar
  1674. ?set polar
  1675. ?set nopolar
  1676. ?show polar
  1677. ?polar
  1678. ?nopolar
  1679.  The `set polar` command changes the meaning of the plot from
  1680.  rectangular coordinates to polar coordinates. In polar coordinates,
  1681.  the dummy variable (x) is an angle. The range of this angle is changed
  1682.  from whatever it was to [0:2*pi], or, if degree unit has been selected,
  1683.  to [0:360] (see `set angles`).
  1684.  
  1685.  The command `set nopolar` changes the meaning of the plot back to the
  1686.  default rectangular coordinate system. The range of x is changed from
  1687.  whatever it was to [-10:10].
  1688.  
  1689.  The `set polar` command is not supported for `splot`s.  See the
  1690.  `set mapping` command for similar functionality for `splot`s.
  1691.  
  1692.  While in polar coordinates the meaning of an expression in x is really
  1693.  r = f(x), where x is an angle of rotation. The xrange controls the
  1694.  domain (the angle) of the function, and the yrange controls the range
  1695.  (the radius). The plot is plotted in a rectangular box, and the x and
  1696.  y axes are both in units of the radius. Thus, the yrange controls both
  1697.  dimensions of the plot output. The tics and units are written along
  1698.  the axes rather than at the left and bottom. These unit are offset by
  1699.  <rmin> specified by the `rrange` (See `set rrange`). It is not
  1700.  possible to specify different output dimensions in the x or y
  1701.  directions. The yrange can be used to shift the plot diagonally to
  1702.  display only the first or third quadrants.
  1703.  
  1704.  Syntax:
  1705.          set polar
  1706.          set nopolar
  1707.          show polar
  1708.  Example:
  1709.          set polar
  1710.          plot x*sin(x)
  1711.          plot [-2*pi:2*pi] [-3:3] x*sin(x)
  1712.  The first plot uses the default polar angular domain of 0 to 2*pi.
  1713.  The radius (and the size of the plot) is scaled automatically. The
  1714.  second plot expands the domain, and restricts the range of the radius
  1715.  (and the size of the plot) to [-3:3].
  1716. 3 rrange
  1717. ?set rrange
  1718. ?show rrange
  1719. ?rrange
  1720.  The `set rrange` command sets the radial range used to compute x and y
  1721.  values when in polar mode. If not in polar mode (see `set polar`) then
  1722.  this range is not used. Use of this command offsets the polar
  1723.  singularity to the <rmin> value and shifts the units on the axes tic
  1724.  marks. For instance, `set rrange [-40:40]` would set the origin to -40
  1725.  and would plot values of radial values between -40 to 40. Thus, if
  1726.  360 degrees of data were plotted, then the plot would extend 80 units
  1727.  in radially from the origin.  To view the entire plot,  a 
  1728.  `set yrange [-80:80]` command would create a square viewport with
  1729.  a circular plot tangent at the axes.  Because `xrange` is used
  1730.  specify the angular extent, only a square viewport can be specified
  1731.  by `yrange`.  For instance, `set yrange [0:80]` would display the
  1732.  first quadrant and `set yrange [-80:0]` would display the third
  1733.  quadrant.  Any square viewport of any size can be specified but it
  1734.  is constrained to be centered on a 45 degree line.
  1735.  
  1736.  This range may also be specified on the `plot` command line when in
  1737.  polar mode.
  1738.  
  1739.  Syntax:
  1740.          set rrange [{<rmin> : <rmax>}]
  1741.  
  1742.  where <rmin> and <rmax> terms are constants or expressions.
  1743.  
  1744.  Both the <rmin> and <rmax> terms are optional. Anything omitted will
  1745.  not be changed, so 
  1746.          set rrange [:10]
  1747.  changes rmax to 10 without affecting rmin.
  1748. 3 samples
  1749. ?set samples
  1750. ?show samples
  1751. ?samples
  1752.  The sampling rate of functions may be changed by the `set samples`
  1753.  command. By default, sampling is set to 100 points. A higher sampling
  1754.  rate will produce more accurate plots, but will take longer. This
  1755.  parameter no longer has any effect on data-file plotting.
  1756.  
  1757.  Syntax:
  1758.          set samples <expression>
  1759.          show samples
  1760. 3 size
  1761. ?set size
  1762. ?show size
  1763. ?size
  1764.  The `set size` command scales the displayed size of the plot.  On some
  1765.  terminals, changing the size of the plot will result in text being
  1766.  misplaced. Increasing the size of the plot may produce strange
  1767.  results. Decreasing is safer.
  1768.  
  1769.  Syntax:
  1770.  
  1771.          set size {<xscale>,<yscale>}
  1772.          show size
  1773.  
  1774.  The <xscale> and <yscale> values are the scaling factors for the size.
  1775.  The defaults (1,1) are selected if the scaling factors are omitted.
  1776.  
  1777.  Examples: 
  1778.  
  1779.  To set the size to normal size use:
  1780.          set size
  1781.  To make the plot half size use:
  1782.          set size 0.5,0.5
  1783.  To show the size use:
  1784.          show size
  1785.  
  1786.  For the LaTeX and Fig terminals the default size (scale factor 1,1)
  1787.  is 5 inches wide by 3 inches high. The big Fig terminal (`bfig`) is 7
  1788.  inches wide by 5 inches high. The postscript default is landscape mode
  1789.  10 inches wide and 7 inches high. 
  1790.  Note that the size of the plot includes the space used by the labels; 
  1791.  the plotting area itself is smaller. 
  1792. 3 style
  1793. ?set style
  1794. ?show style
  1795. ?style
  1796.  Plots may be displayed in one of six styles: `lines`, `points`,
  1797.  `linespoints`, `impulses`, `dots`, or `errorbars`. The `lines` style
  1798.  connects adjacent points with lines. The `points` style displays a
  1799.  small symbol at each point. The `linespoints` style does both
  1800.  `lines` and `points`. The `impulses` style displays a vertical line
  1801.  from the x axis to each point. The `dots` style plots a tiny dot at
  1802.  each data point; this is useful for scatter plots with many points.
  1803.  
  1804.  The `errorbars` style is relevant only for to data file `plot`s. It is
  1805.  treated like `points` for function `plot`s and `splot`s. For data file
  1806.  `plot`s, `errorbars` is like `points`, except that a vertical error
  1807.  bar is also drawn: for each point (x,y), a line is drawn from (x,ylow)
  1808.  to (x,yhigh). A tic mark is placed at the ends of the error bar. The
  1809.  ylow and yhigh values are read from the data file's third and fourth
  1810.  columns, or as specified with the `using` option to plot.  See `plot
  1811.  errorbars` for more information.
  1812.  
  1813.  Default styles are chosen with the `set function style` and `set
  1814.  data style` commands. See `plot style` for information about how
  1815.  to override the default plotting style for individual functions.
  1816.  
  1817.  Syntax:
  1818.          set function style <style>
  1819.          set data style <style>
  1820.          show function style
  1821.          show data style
  1822.  
  1823.  where <style> is `lines`, `points`, `linespoints`, `impulses`,
  1824.  `dots`, or `errorbars`.
  1825. 3 surface
  1826. ?set surface
  1827. ?set nosurface
  1828. ?show surface
  1829. ?surface
  1830.  `set surface` controls the display of surfaces. It is useful if
  1831.  contours are to be displayed by themselves. Whenever `set nosurface`
  1832.  is issued, no surface isolines/mesh will be drawn. See also `set
  1833.  contour`.
  1834.  
  1835.  Syntax:
  1836.          set surface
  1837.          set nosurface
  1838.          show surface
  1839. 3 terminal
  1840. ?set terminal
  1841. ?show terminal
  1842. ?terminal
  1843.  GNUPLOT supports many different graphics devices. Use the `set
  1844.  terminal` command to select the type of device for which GNUPLOT
  1845.  will produce output.
  1846.  
  1847.  Syntax:
  1848.          set terminal {<terminal-type>}
  1849.          show terminal
  1850.  
  1851.  If <terminal-type> is omitted, GNUPLOT will list the available
  1852.  terminal types. <terminal-type> may be abbreviated.
  1853.  
  1854.  Use `set output` to redirect this output to a file or device.
  1855.  
  1856.  Several terminals have additional options. For example, see `dumb`,
  1857.  `iris4d`, `hpljii` or `postscript`.
  1858. 4 dumb
  1859. ?set terminal dumb
  1860. ?dumb
  1861.  The dumb terminal driver has an optional size specification.
  1862.  
  1863.  Syntax:
  1864.          set terminal dumb {<xsize> <ysize>}
  1865.  
  1866.  where <xsize> and <ysize> set the size of the dumb terminals. Default
  1867.  is 79 by 24.
  1868.  
  1869.  Examples:
  1870.          set term dumb
  1871.          set term dumb 79 49 #(VGA screen - why would anyone want to do that!?)
  1872.  
  1873. 4 hpljii
  1874. ?set terminal hpljii
  1875. ?hpljii
  1876.  The HP LaserJet II and HP DeskJet drivers have a single option.
  1877.  
  1878.  Syntax:
  1879.          set terminal hpljii {<resolution>}
  1880.          set terminal hpdj   {<resolution>}
  1881.  
  1882.  where <resolution> is the resolution of the output in dots per inch.
  1883.  It must be `75`, `100`, `150` or `300`.
  1884.  
  1885.  Example:
  1886.          set terminal hpljii 150
  1887.  
  1888. 4 iris4d
  1889. ?set terminal iris4d
  1890. ?iris4d
  1891.  The iris4d driver can operate in two modes.
  1892.  
  1893.  Syntax:
  1894.          set terminal iris4d {24}
  1895.  
  1896.  If the hardware supports only 8 bits, use the default `set terminal
  1897.  iris4d`. If, however, the hardware supports 24 bits (8 per
  1898.  red/green/blue), use `set terminal iris4d 24`.
  1899.  
  1900.  When using 24-bit mode, the colors can be directly specified via the
  1901.  file .gnuplot_iris4d that is searched in the current directory and
  1902.  then in the home directory specified by the HOME environment variable.
  1903.  This file holds RGB values for the background, border, labels and nine
  1904.  plotting colors, in that order. For example, here is a file containing
  1905.  the default colors:
  1906.  
  1907.          85   85   85     /* Back Ground */
  1908.          0    0    0      /* Boundary */
  1909.          170  0    170    /* Labeling */
  1910.          85   255  255    /* Plot Color 1 */
  1911.          170  0    0      /* Plot Color 2 */
  1912.          0    170  0      /* Plot Color 3 */
  1913.          255  85   255    /* Plot Color 4 */
  1914.          255  255  85     /* Plot Color 5 */
  1915.          255  85   85     /* Plot Color 6 */
  1916.          85   255  85     /* Plot Color 7 */
  1917.          0    170  170    /* Plot Color 8 */
  1918.          170  170  0      /* Plot Color 9 */
  1919.  
  1920.  This file has exactly 12 lines of RGB triples. No empty lines are
  1921.  allowed and anything after the third number in line is ignored.
  1922.  
  1923. 4 postscript
  1924. ?set terminal postscript
  1925. ?postscript
  1926.  Several options may be set in the PostScript driver.
  1927.  
  1928.  Syntax:
  1929.          set terminal postscript {<mode>} {<color>}
  1930.                                  {"<fontname>"} {<fontsize>}
  1931.  
  1932.  where <mode> is `landscape`, `portrait` or `default`. Selecting default
  1933.  sets all options to their defaults.
  1934.  <color> is either `color` or `monochrome`.
  1935.  "<fontname>" is the name of a valid PostScript font.
  1936.  <fontsize> is the size of the font in PostScript points, before 
  1937.  scaling by the `set size` command.
  1938.  Defaults are `landscape`, `monochrome`, "Courier", and 14pt.
  1939.  Default size of PostScript plot is landscape mode 10 inches wide 
  1940.  and 7 inches high.
  1941.  
  1942.  Examples:
  1943.  
  1944.          set size 1,1
  1945.          set term postscript default       # old postscript
  1946.          set term postscript landscape 22  # old psbig
  1947.          set size 0.5,0.5
  1948.          set term postscript portrait 14   # old epsf1
  1949.          set term postscript portrait 22   # old epsf2
  1950.          set size 1,1; set term post landscape color "Times-Roman" 14 
  1951.  
  1952. 3 tics
  1953. ?set tics
  1954. ?show tics
  1955. ?tics
  1956.  By default, tics are drawn inwards from the border on all four sides.
  1957.  The `set tics` command can be used to change the tics to be 
  1958.  drawn outwards on the left and bottom borders only.
  1959.  This is useful when doing impulse plots.
  1960.  
  1961.  Syntax:
  1962.          set tics {<direction>}
  1963.          show tics
  1964.  
  1965.  where <direction> may be `in` or `out`. `set tics` defaults to `in`.
  1966.  
  1967.  See also the `set xtics`, `set ytics`, and `set ztics` command for more
  1968.  control of tic marks.
  1969. ?set ticslevel
  1970. ?show ticslevel
  1971. ?ticslevel
  1972.  Using splot, in 3-d plots, one can adjust the relative height of the
  1973.  vertical (Z) axis using `set ticslevel`. The numeric argument provided
  1974.  specifies the location of the bottom of the scale. a zero will put it
  1975.  on the bottom grid and any positive number somewhere along the z axis.
  1976.  
  1977.  Syntax:
  1978.          set ticslevel {<level>}
  1979.          show tics
  1980.  
  1981.  where <level> is a non negative numeric argument. For example,
  1982.  
  1983.          set ticslevel 0.5
  1984.  
  1985.  sets the tics level to the default value.
  1986.  
  1987.  See also the `set view`.
  1988. 3 time
  1989. ?set time
  1990. ?show time
  1991. ?time
  1992.  The optional `set time` places the time and date of the plot either
  1993.  at the top or bottom of the left margin. The exact location is
  1994.  device dependent.
  1995.  
  1996.  Syntax:
  1997.          set time {<xoff>}{,<yoff>}
  1998.          set notime
  1999.          show time
  2000.  
  2001.  Specifying constants <xoff> or <yoff> as optional offsets for the time
  2002.  will move the time <xoff> or <yoff> character screen coordinates. For
  2003.  example,
  2004.  
  2005.          set time ,-3
  2006.  
  2007.  will change only the y offset of the time, moving the title down by
  2008.  roughly the height of three characters.
  2009.  
  2010. 3 title
  2011. ?set title
  2012. ?show title
  2013. ?title
  2014.  The `set title` command produces a plot title that is centered at the
  2015.  top of the plot. Using the optional x,y screen offsets, the title
  2016.  can be placed anywhere on the plot. `set title` with no parameters
  2017.  clears the title.
  2018.  
  2019.  Syntax:
  2020.           set title {"<title-text>"} {<xoff>}{,<yoff>}
  2021.           show title
  2022.  
  2023.  Specifying constants <xoff> or <yoff> as optional offsets for the
  2024.  title will move the title <xoff> or <yoff> character screen
  2025.  coordinates. Note these are screen coordinates and not plot
  2026.  coordinates. For example,
  2027.  
  2028.           set title ,-1
  2029.  
  2030.  will change only the y offset of the title, moving the title down by
  2031.  roughly the height of one character.
  2032.  
  2033.  (The Latex, EEPIC, and Imagen drivers allow \\ in a string to specify
  2034.  a newline.)
  2035. 3 trange
  2036. ?set trange
  2037. ?show trange
  2038. ?trange
  2039.  The `set trange` command sets the parametric range used to compute
  2040.  x and y values when in parametric mode. If not in parametric mode
  2041.  (see `set parametric`) then this range is not used. This command
  2042.  does not affect x/y autoscaling or x/y ranges.
  2043.  
  2044.  This range may also be specified on the `plot` command line when
  2045.  in parametric mode.
  2046.  
  2047.  Syntax:
  2048.          set trange [{<tmin> : <tmax>}]
  2049.  
  2050.  where <tmin> and <tmax> terms are constants or expressions.
  2051.  
  2052.  Both the <tmin> and <tmax> terms are optional. Anything omitted will
  2053.  not be changed, so 
  2054.          set trange [:10]
  2055.  changes tmax to 10 without affecting tmin.  See also `set urange` and
  2056.  `set parametric`.
  2057. 3 urange
  2058. ?set urange
  2059. ?show urange
  2060. ?urange
  2061.  The `set urange` and `set vrange` commands sets the parametric ranges used 
  2062.  to compute x, y, and z values when in `splot` parametric mode. If not in 
  2063.  parametric mode (see `set parametric`) then these ranges are not used. This 
  2064.  command does not affect x/y autoscaling or x/y ranges.
  2065.  
  2066.  This range may also be specified on the `splot` command line when
  2067.  in parametric mode.  See `plot` for more information
  2068.  
  2069.  Syntax:
  2070.          set urange [{<umin> : <umax>}]
  2071.  
  2072.  where <umin> and <umax> terms are constants or expressions.
  2073.  
  2074.  Both the <umin> and <umax> terms are optional. Anything omitted will
  2075.  not be changed, so 
  2076.          set urange [:10]
  2077.  changes umax to 10 without affecting umin.  See also `set trange`.
  2078. 3 variables
  2079. ?show variables
  2080.  The `show variables` command lists all user-defined variables and
  2081.  their values.
  2082.  
  2083.  Syntax:
  2084.          show variables
  2085. 3 view
  2086. ?set view
  2087. ?show view
  2088. ?view
  2089.  The `set view` command sets the view point for `splot`s. This
  2090.  command controls the way the 3-d coordinates of the plot are mapped
  2091.  into the 2-d screen space. This command provides controls to both
  2092.  rotation and scaling of the plotted data but supports orthographic
  2093.  projections only.
  2094.  
  2095.  Syntax:
  2096.          set view <rot_x> {,{<rot_z>}{,{<scale>}{,<scale_z>}}}
  2097.          show view
  2098.  
  2099.  where <rot_x> and <rot_z> control the rotation angles (in degrees)
  2100.  along a virtual 3-d coordinate system aligned with the screen such
  2101.  that the screen horizontal axis is x, screen vertical axis is y, and
  2102.  the axis perpendicular to the screen is z. <rot_x> is bounded to the
  2103.  [0:180] range with a default of 60 degrees, while <rot_z> is bounded
  2104.  to the [0:360] range with a default of 30 degrees. <scale> controls
  2105.  the scaling of the entire `splot`, while <scale_z> scales the z axis
  2106.  only. Both scales default to 1.0.
  2107.  
  2108.  Examples:
  2109.          set view 60, 30, 1, 1
  2110.          set view ,,0.5
  2111.  
  2112.  The first sets all the four default values. The second changes 
  2113.  only scale, to 0.5.
  2114.  
  2115.  See also `set ticslevel`.
  2116. 3 vrange
  2117. ?set vrange
  2118. ?show vrange
  2119. ?vrange
  2120.  The `set vrange` command is similar to the `set urange` command.
  2121.  Please see `set urange`.
  2122. 3 xlabel
  2123. ?set xlabel
  2124. ?show xlabel
  2125. ?xlabel
  2126.  The `set xlabel` command sets the x-axis label that is centered along
  2127.  the x axis. Using the optional x,y screen offsets, the label can be
  2128.  placed anywhere on the plot. `set xlabel` with no parameters clears
  2129.  the label.
  2130.  
  2131.  Syntax: 
  2132.           set xlabel {"<label>"} {<xoff>}{,<yoff>}
  2133.           show xlabel
  2134.  
  2135.  Specifying constants <xoff> or <yoff> as optional offsets for the
  2136.  label will move the label <xoff> or <yoff> character screen
  2137.  coordinates. For example,
  2138.  
  2139.           set xlabel -1
  2140.  
  2141.  will change only the x offset of the xlabel, moving the label roughly
  2142.  one character width to the left.
  2143.  
  2144.  (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  2145.  a newline.)
  2146. 3 xrange
  2147. ?set xrange
  2148. ?show xrange
  2149. ?xrange
  2150.  The `set xrange` command sets the horizontal range that will be
  2151.  displayed. This command turns x axis autoscaling off.
  2152.  
  2153.  This range may also be specified on the `plot` command line.
  2154.  
  2155.  Syntax:
  2156.          set xrange [{<xmin> : <xmax>}]
  2157.  
  2158.  where <xmin> and <xmax> terms are constants or expressions.
  2159.  
  2160.  Both the <xmin> and <xmax> terms are optional. Anything omitted will
  2161.  not be changed, so 
  2162.          set xrange [:10]
  2163.  changes xmax to 10 without affecting xmin.
  2164. 3 xtics
  2165. ?set xtics
  2166. ?set noxtics
  2167. ?show xtics
  2168. ?xtics
  2169. ?noxtics
  2170.  Fine control of the x axis tic marks is possible with the
  2171.  `set xtics` command. The x-axis tic marks may be turned off with the
  2172.  `set noxtics` command. They may be turned on (the default state) with
  2173.  `set xtics`.
  2174.  
  2175.  Syntax:
  2176.           set xtics { {<start>, <incr>{, <end>}} |
  2177.                       {({"<label>"} <pos> {, {"<label>"} <pos>}...)} }
  2178.           set noxtics
  2179.           show xtics
  2180.  
  2181.  The <start>, <incr>, <end> form specifies that a series of tics will
  2182.  be plotted on the x axis between the x values <start> and <end>
  2183.  with an increment of <incr>. If <end> is not given it is assumed to be
  2184.  infinity. The increment may be negative. For example,
  2185.            set xtics 0,.5,10
  2186.  makes tics at 0, 0.5, 1, 1.5, ..., 9.5, 10.
  2187.  
  2188.  The ("<label>" <pos>, ...) form allows arbitrary tic positions or
  2189.  non-numeric tic labels. A set of tics are a set of positions, each
  2190.  with its own optional label. Note that the label is a string enclosed
  2191.  by quotes, and may be a constant string, such as "hello", or contain
  2192.  formatting information for the tic number (which is the same as the
  2193.  position), such as "%3f clients". See `set format` for more
  2194.  information about this case. The label may even be empty.
  2195.  Examples:
  2196.           set xtics ("low" 0, "medium" 50, "high" 100)
  2197.           set xtics (1,2,4,8,16,32,64,128,256,512,1024)
  2198.           set xtics ("bottom" 0, "" 10, "top" 20)
  2199.  
  2200.  Tics will only be plotted when in range.
  2201.  
  2202.  The `set ytics` and `set noytics` commands work identically.
  2203.  See also the `set format` command.
  2204. 3 xzeroaxis
  2205. ?set xzeroaxis
  2206. ?set noxzeroaxis
  2207. ?show xzeroaxis
  2208. ?xzeroaxis
  2209. ?noxzeroaxis
  2210.  `set xzeroaxis` draws the x-axis. By default, this option is on.
  2211.  `set noxzeroaxis` causes GNUPLOT to omit the x-axis.
  2212.  
  2213.  Syntax:
  2214.          set xzeroaxis
  2215.          set noxzeroaxis
  2216.          show xzeroaxis
  2217. 3 ylabel
  2218. ?set ylabel
  2219. ?show ylabel
  2220. ?ylabel
  2221.  The `set ylabel` command sets the y-axis label.  The position of this
  2222.  label depends on the terminal, and can be one of the following three
  2223.  positions (the position can be adjusted with optional parameters).
  2224.  
  2225.  1. Horizontal text flushed left at the top left of the plot.
  2226.  Terminals that cannot rotate text will probably use this method.
  2227.  
  2228.  2. Vertical text centered vertically at the left of the plot.
  2229.  Terminals that can rotate text will probably use this method.
  2230.  
  2231.  3. Horizontal text centered vertically at the left of the plot.
  2232.  The LaTeX and EEPIC drivers use this method. The user must insert 
  2233.  line breaks using \\ to prevent the ylabel from overwriting
  2234.  the plot. To produce a vertical row of characters, add \\
  2235.  between every printing character (but this is ugly).
  2236.  
  2237.  Syntax:  
  2238.           set ylabel {"<label>"} {<xoff>}{,<yoff>}
  2239.           show ylabel
  2240.  
  2241.  With no parameters, the label is cleared. Specifying constants <xoff>
  2242.  or <yoff> as optional offsets for the label will move the label <xoff>
  2243.  or <yoff> character screen coordinates. For example,
  2244.  
  2245.           set ylabel -1
  2246.  
  2247.  will change only the x offset of the ylabel, moving the label roughly
  2248.  one character width left of its default position. This is especially
  2249.  useful with the LaTeX driver.
  2250.  
  2251.  (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  2252.  a newline.)
  2253. 3 yrange
  2254. ?set yrange
  2255. ?show yrange
  2256. ?yrange
  2257.  The `set yrange` command sets the vertical range that will be
  2258.  displayed. This command turns y axis autoscaling off.
  2259.  
  2260.  This range may also be specified on the `plot` command line.
  2261.  
  2262.  Syntax:
  2263.          set yrange [{<ymin> : <ymax>}]
  2264.  
  2265.  where <ymin> and <ymax> terms are constants or expressions.
  2266.  
  2267.  Both the <ymin> and <ymax> terms are optional. Anything omitted will
  2268.  not be changed, so 
  2269.          set yrange [:10]
  2270.  changes ymax to 10 without affecting ymin.
  2271. 3 ytics
  2272. ?set ytics
  2273. ?set noytics
  2274. ?show ytics
  2275. ?ytics
  2276. ?noytics
  2277.  The `set ytics` and `set noytics` commands are similar to the `set xtics`
  2278.  and `set noxtics` commands. Please see `set xtics`.
  2279. 3 yzeroaxis
  2280. ?set yzeroaxis
  2281. ?set noyzeroaxis
  2282. ?show yzeroaxis
  2283. ?yzeroaxis
  2284. ?noyzeroaxis
  2285.  `set yzeroaxis` draws the y-axis. By default, this option is on.
  2286.  `set noyzeroaxis` causes GNUPLOT to omit the y-axis.
  2287.  
  2288.  Syntax:
  2289.          set yzeroaxis
  2290.          set noyzeroaxis
  2291.          show yzeroaxis
  2292. 3 zero
  2293. ?set zero
  2294. ?show zero
  2295. ?zero
  2296.  The `zero` value is the default threshold for values approaching 0.0.
  2297.  GNUPLOT will not plot a point if its imaginary part is greater in
  2298.  magnitude than the `zero` threshold. Axis ranges cannot be less than
  2299.  `zero`. The default `zero` value is 1e-8. This can be changed with
  2300.  the `set zero` command.
  2301.  
  2302.  Syntax:
  2303.          set zero <expression>
  2304.          show zero
  2305. 3 zeroaxis
  2306. ?set zeroaxis
  2307. ?set nozeroaxis
  2308. ?show zeroaxis
  2309. ?zeroaxis
  2310. ?nozeroaxis
  2311.  `set zeroaxis` draws the x-axis and y-axis. By default, this option is
  2312.  on.  `set nozeroaxis` causes GNUPLOT to omit the axes, and is
  2313.  equivalent to `set noxzeroaxis; set noyzeroaxis.`
  2314.  
  2315.  Syntax:
  2316.          set zeroaxis
  2317.          set nozeroaxis
  2318.          show zeroaxis
  2319.  See `set xzeroaxis` and `set yzeroaxis`.
  2320. 3 zlabel
  2321. ?set zlabel
  2322. ?show zlabel
  2323. ?zlabel
  2324.  The `set zlabel` command sets the z-axis label that is centered along
  2325.  the z axis. Using the optional x,y screen offsets, the label can be
  2326.  placed anywhere on the plot. `set zlabel` with no parameters clears
  2327.  the label.
  2328.  
  2329.  Syntax: 
  2330.           set zlabel {"<label>"} {<xoff>}{,<yoff>}
  2331.           show zlabel
  2332.  
  2333.  Specifying constants <xoff> or <yoff> as optional offsets for the
  2334.  label will move the label <xoff> or <yoff> character screen
  2335.  coordinates. For example,
  2336.  
  2337.           set zlabel ,1
  2338.  
  2339.  will change only the y offset of the zlabel, moving the label roughly
  2340.  one character height up.
  2341.  
  2342.  The zlabel will be drawn whenever surfaces or contours are plotted,
  2343.  in the space above the grid level.
  2344.  
  2345.  (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  2346.  a newline.)
  2347. 3 zrange
  2348. ?set zrange
  2349. ?show zrange
  2350. ?zrange
  2351.  The `set zrange` command sets the vertical range that will be
  2352.  displayed. This command turns z axis autoscaling off.  The zrange is
  2353.  used only by `splot` and is ignored by `plot`.
  2354.  
  2355.  This range may also be specified on the `splot` command line.
  2356.  
  2357.  Syntax:
  2358.          set zrange [{<zmin> : <zmax>}]
  2359.  
  2360.  where <zmin> and <zmax> terms are constants or expressions.
  2361.  
  2362.  Both the <zmin> and <zmax> terms are optional. Anything omitted will
  2363.  not be changed, so
  2364.          set zrange [2:]
  2365.  changes zmin to 2 without affecting zmax.
  2366. 3 ztics
  2367. ?set ztics
  2368. ?set noztics
  2369. ?show ztics
  2370. ?ztics
  2371. ?noztics
  2372.  The `set ztics` and `set noztics` commands are similar to the `set
  2373.  xtics` and `set noxtics` commands. Please see `set xtics`.
  2374. 2 shell
  2375. ?shell
  2376.  The `shell` command spawns an interactive shell. To return to
  2377.  GNUPLOT, type `logout` if using VMS, `exit` or the END-OF-FILE
  2378.  character if using Unix, `endcli` if using AmigaDOS, or `exit` if
  2379.  using MS-DOS.
  2380.  
  2381.  A single shell command may be spawned by preceding it with the !
  2382.  character ($ if using VMS) at the beginning of a command line.
  2383.  Control will return immediately to GNUPLOT after this command is
  2384.  executed. For example, in VMS, AmigaDOS, or MS-DOS,
  2385.  
  2386.       ! dir
  2387.  
  2388.  prints a directory listing and then returns to GNUPLOT.
  2389. 2 splot
  2390.  Three-dimensional surface and contour plotting is available in
  2391.  GNUPLOT with the `splot` command. See the `plot` command for features
  2392.  common to the `plot` command.
  2393.  
  2394.  See also `set contour`, `set cntrparam`, and `set surface`.
  2395. 2 start-up
  2396. ?startup
  2397. ?start
  2398. ?.gnuplot
  2399.  When GNUPLOT is run, it looks for an initialization file to load.
  2400.  This file is called `.gnuplot` on Unix and AmigaDOS systems, and
  2401.  `GNUPLOT.INI` on other systems. If this file is not found in the
  2402.  current directory, the program will look for it in the home directory
  2403.  (under AmigaDOS and MS-DOS, the environment variable GNUPLOT should
  2404.  contain the name of this directory).
  2405.  
  2406.  If this file is found, GNUPLOT executes the commands in this file.
  2407.  This is most useful for setting the terminal type and defining any
  2408.  functions or variables that are used often.
  2409. 2 substitution
  2410. ?substitution
  2411.  Command-line substitution is specified by a system command enclosed in
  2412.  backquotes. This command is spawned and the output it produces
  2413.  replaces the name of the command (and backquotes) on the command line.
  2414.  
  2415.  Newlines in the output produced by the spawned command are replaced
  2416.  with blanks.
  2417.  
  2418.  Command-line substitution can be used anywhere on the GNUPLOT command
  2419.  line.
  2420.  
  2421.  Example:
  2422.  
  2423.  This will run the program `leastsq` and replace `leastsq` (including
  2424.  backquotes) on the command line with its output:
  2425.  
  2426.           f(x) = `leastsq`
  2427.  
  2428.  or, in VMS
  2429.  
  2430.           f(x) = `run leastsq`
  2431. 2 user-defined
  2432. ?userdefined
  2433. ?variables
  2434.  New user-defined variables and functions of one or two variables may be 
  2435.  declared and used anywhere.
  2436.  
  2437.  User-defined function syntax:
  2438.          <function-name> ( <dummy-var1> {,<dummy-var2>} ) =  <expression>
  2439.  
  2440.  where <expression> is defined in terms of <dummy-var1> and <dummy-var2>.
  2441.  
  2442.  User-defined variable syntax:
  2443.          <variable-name> = <constant-expression>
  2444.  
  2445.  Examples:
  2446.          w = 2
  2447.          q = floor(tan(pi/2 - 0.1))
  2448.          f(x) = sin(w*x)
  2449.          sinc(x) = sin(pi*x)/(pi*x)
  2450.          delta(t) = (t == 0)
  2451.          ramp(t) = (t > 0) ? t : 0
  2452.          min(a,b) = (a < b) ? a : b
  2453.          comb(n,k) = n!/(k!*(n-k)!)
  2454.  
  2455.  Note that the variable `pi` is already defined.
  2456.  
  2457.  See `show functions` and `show variables`.
  2458. 2 bugs
  2459. ?bugs
  2460.  The atan() function does not work correctly for complex arguments.
  2461.  
  2462.  The bessel functions do not work for complex arguments.
  2463.  
  2464.  The gamma function does not work for complex arguments.
  2465.  
  2466.  There is a bug in the stdio library for old Sun operating systems
  2467.  (SunOS Sys4-3.2). The "%g" format for 'printf' sometimes incorrectly
  2468.  prints numbers (e.g., 200000.0 as "2"). Thus, tic mark labels may be
  2469.  incorrect on a Sun4 version of GNUPLOT. A work-around is to rescale
  2470.  the data or use the `set format` command to change the tic mark format
  2471.  to "%7.0f" or some other appropriate format. This appears to have been
  2472.  fixed in SunOS 4.0.
  2473.  
  2474.  Another bug: On a Sun3 under SunOS 4.0, and on Sun4's under Sys4-3.2
  2475.  and SunOS 4.0, the 'sscanf' routine incorrectly parses "00 12" with
  2476.  the format "%f %f" and reads 0 and 0 instead of 0 and 12. This
  2477.  affects data input. If the data file contains x coordinates that are
  2478.  zero but are specified like '00', '000', etc, then you will read the
  2479.  wrong y values. Check any data files or upgrade the SunOS.
  2480.  It appears to have been fixed in SunOS 4.1.1.
  2481.  
  2482.  Microsoft C 5.1 has a nasty bug associated with the %g format for
  2483.  printf. When any of the formats "%.2g", "%.1g", "%.0g", "%.g" are
  2484.  used, printf will incorrectly print numbers in the range 1e-4 to 1e-1.
  2485.  Numbers that should be printed in the %e format are incorrectly 
  2486.  printed in the %f format, with the wrong number of zeros after the 
  2487.  decimal point.
  2488.  
  2489.  To work around this problem, use the %e or %f formats explicitly.
  2490.  
  2491.  GNUPLOT, when compiled with Microsoft C, did not work correctly on two
  2492.  VGA displays that were tested. The CGA, EGA and VGA drivers should 
  2493.  probably be rewritten to use the Microsoft C graphics library.
  2494.  GNUPLOT compiled with Turbo C uses the Turbo C graphics drivers and 
  2495.  does work correctly with VGA displays.
  2496.  
  2497.  VAX/VMS 4.7 C compiler release 2.4 also has a poorly implemented %g 
  2498.  format for printf. The numbers are printed numerically correct, but 
  2499.  may not be in the requested format. The K&R second edition says that 
  2500.  for the %g format, %e is used if the exponent is less than -4 or greater 
  2501.  than or equal to the precision. The VAX uses %e format if the exponent 
  2502.  is less than -1. The VAX appears to take no notice of the precision 
  2503.  when deciding whether to use %e or %f for numbers less than 1.
  2504.  To work around this problem, use the %e or %f formats explicitly.
  2505.  From the VAX C 2.4 release notes:
  2506.  e,E,f,F,g,G  Result will always contain a decimal  point.
  2507.  For g and G, trailing zeros will not be removed from the result.
  2508.  
  2509.  VAX/VMS 5.2 C compiler release 3.0 has a slightly better implemented
  2510.  %g format than release 2.4, but not much. Trailing decimal points are 
  2511.  now removed, but trailing zeros are still not removed from %g numbers 
  2512.  in exponential format.
  2513.  
  2514.  ULTRIX X11R3 has a bug that causes the X11 driver to display "every
  2515.  other" plot.  The bug seems to be fixed in DEC's release of X11R4 so
  2516.  newer releases of ULTRIX don't seem to have the problem.  Solutions for 
  2517.  older sites include upgrading the X11 libraries (from DEC or direct from 
  2518.  MIT) or defining ULTRIX_KLUDGE when compiling the x11.trm file.  Note 
  2519.  that the kludge is not an ideal fix, however.
  2520.  
  2521.  The constant HUGE was incorrectly defined in the NeXT OS 2.0 operating
  2522.  system.  HUGE should be set to 1e38 in plot.h. This error has been
  2523.  corrected in the 2.1 version of NeXT OS.
  2524.  
  2525.  Please report any bugs to pixar!bug-gnuplot@sun.com or
  2526.  pixar!bug-gnuplot@ucbvax.berkeley.edu.
  2527.